DumpAstTypes emits the AST after type checking.
()
| 48 | |
| 49 | // DumpAstTypes emits the AST after type checking. |
| 50 | func DumpAstTypes() Option { |
| 51 | return func(r *Runtime) error { |
| 52 | r.cOpts = append(r.cOpts, compiler.EmitAstTypes()) |
| 53 | return nil |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | // DumpBytecode instructs the loader to print the compiled bytecode after code generation. |
| 58 | func DumpBytecode() Option { |