mirror of
https://github.com/hanzoai/ast.git
synced 2026-10-30 18:47:38 +00:00
This language has function calls similar to Ruby's, with no parentheses required, and optional blocks.
There is a shift/reduce conflict here:
foo bar { baz }
^
The possible actions are:
reduce(expression, 1)-baris an expression being passed to thefoofunction.shift-baris a function being called with the block{ baz }
The grammars precedence_on_single_child_negative and precedence_on_single_child_positive show possible resolutions to this conflict.