bablr-lang / bablr-vm

A VM for enforcing language rules on agAST trees
MIT License
40 stars 2 forks source link

Expression parsing #42

Open conartist6 opened 1 year ago

conartist6 commented 1 year ago

Allow the grammar to shift the current match downwards so that it becomes the left-hand side of a new top-level node. This only needs to happen for true parsing. If start and end node tokens are present in the source we already have all the information we need to do a well-ordered traversal!