isaacazuelos / pratt

Playing around with top-down operator precedence parsing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Top Down Operator Precedence

Playing around with top-down operator precedence parsing.

Thanks to the oil shell blog for their write-up, as well as to those who contributed to keeping the original paper online.

And this example in java, which gave me some ideas for how to make this work better with types. Its funny that it's easier to pull the OOP out of Java than JavaScript for this.

About

Playing around with top-down operator precedence parsing.

License:MIT License


Languages

Language:Rust 100.0%