Added function calls, printing out of pointers

This commit is contained in:
Nathan Braswell
2016-01-11 23:41:09 -05:00
parent 5db0365a63
commit 4c569f4f8c
10 changed files with 162 additions and 72 deletions

View File

@@ -60,19 +60,6 @@ fun main():int {
write_file_binary(compiled_name, serialize(file_contents) + serialize(gram))
println("done writing")
}
/*println(gram.to_string())*/
/*var parse.construct(gram): parser*/
/*var parse_tree = parse.parse_input(read_file(string("to_parse.krak")), string("fun name"))*/
/*println("the tree")*/
/*println(syntax_tree_to_dot(parse_tree))*/
/*write_file(string("syntax_tree.dot"), syntax_tree_to_dot(parse_tree))*/
/*var ast_pass.construct(): ast_transformation*/
/*var ast = ast_pass.transform(parse_tree)*/
/*println("the AST")*/
/*println(ast_to_dot(ast))*/
/*write_file(string("ast.dot"), ast_to_dot(ast))*/
var kraken_file_name = string("to_parse.krak")
var parse.construct(gram): parser
@@ -89,4 +76,3 @@ fun main():int {
return 0
}