Basic CTCE working! In between commit because #link(a) syntax changed to #link(a)
This commit is contained in:
@@ -12,6 +12,7 @@ import ast_transformation:*
|
||||
import adt_lower:*
|
||||
import obj_lower:*
|
||||
import defer_lower:*
|
||||
import ctce_lower:*
|
||||
import c_line_control:*
|
||||
import c_generator:*
|
||||
import compiler_version
|
||||
@@ -121,6 +122,8 @@ fun main(argc: int, argv: **char):int {
|
||||
obj_lower(&importer.name_ast_map, &importer.ast_pass.ast_to_syntax)
|
||||
printlnerr("Lowering Defer")
|
||||
defer_lower(&importer.name_ast_map, &importer.ast_pass.ast_to_syntax)
|
||||
printlnerr("Lowering CTCE")
|
||||
ctce_lower(&importer.name_ast_map, &importer.ast_pass.ast_to_syntax)
|
||||
if (interpret_instead) {
|
||||
printlnerr("Interpreting!")
|
||||
call_main(importer.name_ast_map)
|
||||
|
||||
Reference in New Issue
Block a user