Created
June 27, 2012 15:25
-
-
Save jmaicher/3004826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eli> Test.fw : absyntax > | |
RULE rule_1: G1 ::= '-' END; | |
RULE rule_2: G2 ::= ':' END; | |
RULE rule_3: G2 ::= G2 Ident END; | |
RULE rule_4: G2 ::= Ident END; | |
RULE rule_5: Test ::= foo bar END; | |
RULE rule_6: bar ::= G1 END; | |
RULE rule_7: foo ::= G2 END; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@=~ | |
~p maximum_input_line_length = infinity | |
~O~<Test.gla~>~{ | |
Ident: C_IDENTIFIER | |
~} | |
~O~<Test.con~>~{ | |
Test: foo bar. | |
bar: '-'+. | |
foo: (Ident / ':')+. | |
~} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment