nakala-lang / nakala

A dynamic programming language designed to feel familiar and be fun to use, written in Rust
MIT License
11 stars 1 forks source link

Add debug method for showing AST #8

Closed reaganmcf closed 2 years ago

reaganmcf commented 3 years ago

Currently, we can serialize the parse with --show-parse and HIR with --show-hir, but there is no option for the AST representation. This makes it difficult sometimes to debug issues and would make it easier to add more features in nakala in the future

reaganmcf commented 2 years ago

Closing since language has been almost entirely rewritten. Also, the -p flag will show the parse / AST in the new version