1 #include "common_cpp.h"
4 * compile.cpp --compile tokens
6 * Copyright(C) 2013(Heisei 25) ttwilb All rights reserved.
8 * This source code is released on the BSD licensing.
12 int compile_onefile(Tokenizer tkns)
14 Definition def = compile_definition(tkns);
18 //err: too many '}' token and the tree structure was destroyed.
19 show_err("Too many '}' tokens");
23 //TODO: register def to the default namespace (with good definition name)
27 Definition compile_definition(Tokenizer tkns)