3 ms·
If anything, this matching on an AST is very readable and elegant, and that just convinced me that the syntax of Python seems really good to write a parser.
by jraph 4y ago
If anything, this matching on an AST is very readable and elegant, and that just convinced me that the syntax of Python seems really good to write a parser.
- sireat 4y agothat AST parsing code looks like something written in Scala ... seems like Scala is moving to more Python like and Python is moving to add some features from Scala.