1 #ifndef TAN_SRC_LIB_LIBTANC_H_
2 #define TAN_SRC_LIB_LIBTANC_H_
43 TanCompileType type = OBJ;
56 bool init_compiler(
int argc,
char **argv);
62 inline str opt_level_to_string(TanOptLevel l) {
Compilation configuration.
vector< str > import_dirs
Library search paths.
unsigned verbose
Optimization level,.
str out_file
Verbose level, 0 non-verbose, 1 print LLVM IR, 2, print LLVM IR and abstract syntax tree.
vector< str > link_files
Output filename, invalid if TanCompilation::type is set to OBJ.
TanOptLevel opt_level
Type of compilation,.
vector< str > lib_dirs
Files to link against.