bosatsu
bosatsu copied to clipboard
implement debug lisp-like output format
I found debugging the fully typed trees to be pretty painful looking at the case classes. TypedExpr
has a repr
method that returns an S-expression based version of the typed expression.
It would be nice to add a CLI argument to print that out for any source files or compiled files, and maybe something similar for interface files.
the repr method was added in #66