ValKmjolnir
8e0d1e18e1
🐛 fix bug in json.cpp & add std/argparse.nas
2023-12-07 00:04:41 +08:00
ValKmjolnir
28a42346b7
📝 update scripts
2023-11-16 23:19:03 +08:00
ValKmjolnir
ccbe341dc5
✨ add import logic for use statement
2023-11-01 00:37:02 +08:00
ValKmjolnir
d479f13a5c
✨ support nasal module
2023-07-20 00:54:57 +08:00
ValKmjolnir
ba6b7cd05c
✨ change dir stl -> std
2023-07-02 16:17:56 +08:00
ValKmjolnir
bd12fe917a
⚡ add new operand calculate const and pop
2023-03-10 22:27:06 +08:00
ValKmjolnir
f9cbd0b426
✨ add error report info in stl/mat
2023-03-02 00:26:52 +08:00
ValKmjolnir
0e578b3e21
📝 update stl/file and test files.
2022-08-27 17:26:01 +08:00
ValKmjolnir
8b8fb79013
📝 unify code style of ./stl ./test
2022-07-02 13:53:50 +08:00
ValKmjolnir
ab37495960
🐛 visual changement & bug fix in test/json.nas & optimize test/bp.nas
2022-05-30 21:27:24 +08:00
ValKmjolnir
f8692f1e4e
📝 update test files
2022-05-17 18:22:24 +08:00
ValKmjolnir
3c9a10d710
avoid unnecessary deep copy by using rvalue ref
...
and test file update.
bug fixed in test/lexer.nas
2021-06-24 22:10:08 +08:00
ValKmjolnir
fd57e9a47c
performance optimization of vm/lex/parse/test
2021-06-24 00:26:26 +08:00
Valk Richard Li
8e29a3ec5b
bug fixed & more efficient callfv
...
I changed callfv's way of calling a function with arguments in vm_vec.
now callfv fetches arguments from val_stack directly,so it runs test/fib.nas from 2.4s to 1.9s.
delete operand callf,add operands callfv & callfh.
also,i check val_stack's top to make sure there is not a stack overflow.
2021-06-03 21:49:31 +08:00
Valk Richard Li
6adb991c04
parser reports syntax error accurately
...
still need improvement
2021-05-04 01:13:53 +08:00
Valk Richard Li
c5f4736984
change scope from unordered_map to vector
2021-04-19 19:12:41 +08:00
Valk Richard Li
1a233fbe15
update
2021-04-12 13:21:13 +08:00
Valk Richard Li
c88620920b
add stl & more efficient scope
2021-04-02 22:19:29 +08:00
Valk Richard Li
125fc8a9fe
bug fixed & test file changes
...
compare operators now run more efficiently.
2021-03-31 20:59:13 +08:00
Valk Richard Li
c7316e9780
change id name & add test file
2021-03-30 00:12:48 +08:00
Valk Richard Li
144e6f45da
gc changed to mark-sweep
2021-03-27 01:08:05 +08:00
Valk Richard Li
7087c67d79
add constant table in vm
2021-03-08 19:45:33 +08:00
Valk Richard Li
19b590f3bb
add test files
2021-03-03 01:09:57 +08:00
Valk Richard Li
9f30440286
preparation for v5.0
2020-12-19 01:26:15 +08:00
Valk Richard Li
e8341c7b06
change project structure
...
version 3.0
2020-10-23 14:53:04 +08:00