Closed izgzhen closed 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
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