bosatsu icon indicating copy to clipboard operation
bosatsu copied to clipboard

implement debug lisp-like output format

Open johnynek opened this issue 5 years ago • 1 comments

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.

johnynek avatar Jun 23 '19 18:06 johnynek

the repr method was added in #66

johnynek avatar Aug 28 '21 21:08 johnynek