CozySynthesizer / cozy

The collection synthesizer
https://cozy.uwplse.org
Apache License 2.0
209 stars 18 forks source link

try lark parser for frontend #78

Closed izgzhen closed 6 years ago

izgzhen commented 6 years ago

https://github.com/lark-parser/lark

I found that our AST is actually quite complicated, using a tool like LARK can make our AST definition more self-documenting. I used lark before, and it is fairly good.

To potential new contributor: the goal is to rewrite https://github.com/CozySynthesizer/cozy/blob/master/cozy/syntax.py and https://github.com/CozySynthesizer/cozy/blob/master/cozy/parser.py, plus potential linked files