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:
parent
56b4379c38
commit
1aad493c75
2 changed files with 365 additions and 366 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue