coalton-codegen-ast exposes the intermediate AST rather than the final Lisp.
Syntax
(coalton-codegen-ast
⟨toplevel-form⟩ ...)
Semantics
- It prints AST information for the toplevel definitions in the given forms.
- It is intended for compiler debugging and internal investigation.
- Unlike the other codegen macros, it returns
NILafter printing.
Example
(coalton-codegen-ast
(define (double x)
(+ x x)))