add optimizer

optimizer now does one work: calculate const number before generating bytecode
This commit is contained in:
ValKmjolnir
2022-01-22 00:41:08 +08:00
parent 630c99c39a
commit 40344455e6
5 changed files with 48 additions and 1 deletions
+1
View File
@@ -132,6 +132,7 @@ std::string rawstr(const std::string& str)
#include "nasal_ast.h"
#include "nasal_parse.h"
#include "nasal_import.h"
#include "nasal_opt.h"
#include "nasal_gc.h"
#include "nasal_builtin.h"
#include "nasal_codegen.h"