Skip to content

Commit

Permalink
Update grammar to reflect syntax from paper
Browse files Browse the repository at this point in the history
  • Loading branch information
aabounegm committed Jan 9, 2024
1 parent 6e79a34 commit bca0a65
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 206 deletions.
4 changes: 2 additions & 2 deletions eo-phi-normalizer/grammar/EO/Phi/Syntax.cf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ token AlphaIndex ({"α0"} | {"α"} (digit - ["0"]) (digit)* ) ;

Program. Program ::= "{" [Binding] "}" ;

Formation. Object ::= "{" [Binding] "}" ;
Application. Object ::= Object "{" [Binding] "}" ;
Formation. Object ::= "" [Binding] "" ;
Application. Object ::= Object "(" [Binding] ")" ;
ObjectDispatch. Object ::= Object "." Attribute ;
GlobalDispatch. Object ::= "Φ" "." Attribute ;
ThisDispatch. Object ::= "ξ" "." Attribute ;
Expand Down
46 changes: 20 additions & 26 deletions eo-phi-normalizer/src/Language/EO/Phi/Syntax/Abs.hs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

173 changes: 87 additions & 86 deletions eo-phi-normalizer/src/Language/EO/Phi/Syntax/Doc.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 10 additions & 9 deletions eo-phi-normalizer/src/Language/EO/Phi/Syntax/Lex.x

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 23 additions & 19 deletions eo-phi-normalizer/src/Language/EO/Phi/Syntax/Par.y

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bca0a65

Please sign in to comment.