SemEnglish Grammar (from Seth)
source: SemEnglish.g
-
document
-
Statement
* END
-
Statement
-
Subject
Predicate
AddPredicate
* [ "\\." ]
-
Subject
-
CompoundWords
| Word
| Number
| AnnNode
-
CompoundWords
-
"\\(" Word + "\\)"
-
AnnNode
-
"\\[" Predicate
"\\]"
-
Predicate
-
Verb
Object
AddObject
*
-
AddPredicate
-
";" Predicate
-
Verb
-
CompoundWords
| Word
-
Object
-
CompoundWords
| ExpObject
| Expression
-
AddObject
-
"," Object
-
ExpObject
-
Word
| Number
| AnnNode
| ReifiedStatement
| Context
| Literal
-
ReifiedStatement
-
THAT "\\(" Subject
Verb
Object
"\\)"
-
Context
-
"{" Statement
* "}"
-
Literal
-
Dquote
| Squote
-
Expression
-
"exp" Nexpression
-
Nexpression
-
"\\(" Verb
ExpObject_
+ "\\)"
-
ExpObject_
-
ExpObject
| Nexpression