Skip to content

Instantly share code, notes, and snippets.

@porky11
Created March 7, 2019 09:50
Show Gist options
  • Save porky11/9fce1066bec7d14d3fd1adfc061d43da to your computer and use it in GitHub Desktop.
Save porky11/9fce1066bec7d14d3fd1adfc061d43da to your computer and use it in GitHub Desktop.
Current grammar of the speakable language I'm working on
primitives
noun
property
particle
suffix-to-noun
suffix-to-property
suffix-to-particle
suffix-to-same
grammar
object =
suffix-noun
suffix-property object
suffix-word =
suffix-noun
suffix-property
suffix-particle
suffix-noun =
noun
suffix-noun suffix-to-same
suffix-word suffix-to-noun
suffix-property =
property
suffix-property suffix-to-same
suffix-word suffix-to-property
suffix-particle =
particle
suffix-particle suffix-to-same
suffix-word suffix-to-particle
sentence =
object
suffix-particle sentence sentence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment