1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

with an 'expect 10', chapter one of mysterylang is written

This commit is contained in:
Jeremy Ashkenas 2009-12-16 00:00:18 -05:00
parent 56b4379c38
commit 1aad493c75
2 changed files with 365 additions and 366 deletions

View file

@ -24,8 +24,14 @@ prechigh
left ':'
right '-=' '+=' '/=' '*=' '||=' '&&='
nonassoc IF
left UNLESS
right RETURN THROW FOR WHILE
preclow
# We expect 10 shift/reduce errors for optional syntax.
# There used to be 252 -- greatly improved.
expect 10
rule
# All parsing will end in this rule, being the trunk of the AST.

725
parser.rb

File diff suppressed because it is too large Load diff