Valk Richard Li
20cfbfecd9
add license & other changes
...
parser recognizes syntax errors more accurately.
change some for loop to standard c++11 for(auto iter:obj)
add MIT license
change info in README.md
2021-05-04 17:39:24 +08:00
Valk Richard Li
2405bada81
change scope from unordered_map to vector
2021-04-19 19:12:41 +08:00
Valk Richard Li
3c89942654
update
2021-04-12 13:21:13 +08:00
Valk Richard Li
d51465cc82
change function of vapp & README update
2021-04-03 23:47:14 +08:00
Valk Richard Li
1f6e1a647e
add stl & more efficient scope
2021-04-02 22:19:29 +08:00
Valk Richard Li
e10517b741
bug fixed & test file changes
...
compare operators now run more efficiently.
2021-03-31 20:59:13 +08:00
Valk Richard Li
7f191f353e
add static symbol check & test file update
2021-03-30 15:55:38 +08:00
Valk Richard Li
4202c2081e
change id name & add test file
2021-03-30 00:12:48 +08:00
Valk Richard Li
6473b527a1
bug fixed
2021-03-28 17:39:24 +08:00
Valk Richard Li
a990fb606a
gc changed to mark-sweep
2021-03-27 01:08:05 +08:00
Valk Richard Li
0d662ab498
update
2021-03-11 23:18:04 +08:00
Valk Richard Li
ca27c5545a
add constant table in vm
2021-03-08 19:45:33 +08:00
Valk Richard Li
6187ca1d8e
delete op_entry
2021-03-04 15:53:34 +08:00
Valk Richard Li
f3370ef0f7
change map to unordered_map
2021-03-01 15:54:58 +08:00
Valk Richard Li
bae077ac88
update
2021-02-27 22:45:51 +08:00
Valk Richard Li
03dcdd0f1e
Add props lib & bug fixed(op_ret in foreach/index got SIGSEGV)
2021-02-18 23:49:29 +08:00
Valk Richard Li
1d02f7021d
bug fixed & more efficient function call
...
fixed a bug when different hash calling the same function,'me' will be set to the latest called hash's address.
changed the way of pushing the scope to the stack by copying a new scope from the function's scope address.
use map as the nasal_scop instead of list<map>,it'll be more efficient.
2021-02-17 19:31:44 +08:00
Valk Richard Li
e1beb1efe3
change identifier name to avoid misunderstanding
2021-02-15 15:29:55 +08:00
Valk Richard Li
cc81ee94be
change the way of calling built-in functions
...
change std::map to struct array,use index to call built-in functions.this may be more efficient.
2021-02-14 17:36:42 +08:00
Valk Richard Li
ee5f9519fe
update
2021-02-10 00:12:22 +08:00