ValKmjolnir
|
34a59db9c4
|
add destructor for obj_file & change arguments in test/tetris.nas
|
2022-03-12 23:37:16 +08:00 |
|
ValKmjolnir
|
01837de162
|
update test/tetris.nas
|
2022-03-11 23:42:09 +08:00 |
|
ValKmjolnir
|
015ef1e665
|
fix bug in test/json.nas
|
2022-03-11 15:26:38 +08:00 |
|
ValKmjolnir
|
b1b233fb00
|
update fully functional test/json.nas
|
2022-03-11 15:11:24 +08:00 |
|
ValKmjolnir
|
4bbeaa10b5
|
visual update
|
2022-03-10 16:05:49 +08:00 |
|
ValKmjolnir
|
8309a6211a
|
add unix.fork&unix.pipe(do not work on windows platform)
|
2022-03-09 19:03:12 +08:00 |
|
ValKmjolnir
|
c00f1a2103
|
delete lstk&fstk, store local address and function on stack and in vm registers
|
2022-03-08 17:30:40 +08:00 |
|
ValKmjolnir
|
5ac882c01e
|
update num->string algorithm, now the to_string will output strings with no tailing zeros
|
2022-03-08 13:40:27 +08:00 |
|
ValKmjolnir
|
b786dd0209
|
safer stl/module.nas & add stl/file.nas encapsulated from lib.nas/io
|
2022-03-06 15:17:39 +08:00 |
|
ValKmjolnir
|
ebb601abbf
|
add unix.environ() & use LPCWSTR in dylib.dlopen on Windows platform
|
2022-03-05 19:15:52 +08:00 |
|
ValKmjolnir
|
7d602cf6ca
|
update
|
2022-03-01 14:36:05 +08:00 |
|
ValKmjolnir
|
83e27aa0cb
|
fix bug in test/tetris.nas
|
2022-02-25 23:34:02 +08:00 |
|
ValKmjolnir
|
4be9c8b5c1
|
update test/tetris.nas
|
2022-02-23 01:09:31 +08:00 |
|
ValKmjolnir
|
728211e611
|
fix bug in libkey and test/tetris.nas
|
2022-02-22 18:01:49 +08:00 |
|
ValKmjolnir
|
2d4255a162
|
finish tetris.nas
|
2022-02-21 17:10:13 +08:00 |
|
ValKmjolnir
|
98668da741
|
finish basic functions of tetris
|
2022-02-21 00:47:32 +08:00 |
|
ValKmjolnir
|
7812c7f691
|
finish map drawing in test/tetris.nas
|
2022-02-20 17:58:13 +08:00 |
|
ValKmjolnir
|
84aa18d5d2
|
add new third-lib libkey that includes function: kbhit,getch,nonblock
|
2022-02-19 16:55:54 +08:00 |
|
ValKmjolnir
|
78361539c7
|
update test file
|
2022-02-18 15:36:34 +08:00 |
|
ValKmjolnir
|
9cbbbe2058
|
add special character \e.
|
2022-02-18 01:58:49 +08:00 |
|
ValKmjolnir
|
6fee4da9a0
|
delete operand op_nop
|
2022-02-16 23:27:22 +08:00 |
|
ValKmjolnir
|
7958fd8919
|
update README.md
|
2022-02-14 17:29:26 +08:00 |
|
ValKmjolnir
|
f16259b2da
|
update README & bug fixed
|
2022-02-13 16:10:02 +08:00 |
|
ValKmjolnir
|
0d5b0fa57d
|
now local values are stored on stack. upvalue is generated when creating a new function in local scope.
may include some bugs inside. but all test files has passed the test so i decide to push it.
|
2022-02-12 23:12:30 +08:00 |
|
ValKmjolnir
|
3ca42d1fd9
|
update test/calc.nas & print function of nasal_vec/nasal_hash
|
2022-02-11 17:04:27 +08:00 |
|
ValKmjolnir
|
6908e509ac
|
add notes in lib.nas & add runtime.gc() & add total instruction count in '-o'.
|
2022-02-09 15:53:09 +08:00 |
|
ValKmjolnir
|
87f2b78fc8
|
update/optimize test files
|
2022-02-07 23:41:50 +08:00 |
|
ValKmjolnir
|
54da9e4ee1
|
optimize test file & little update.
|
2022-02-06 19:55:45 +08:00 |
|
ValKmjolnir
|
6812a389dc
|
update new test data
|
2022-01-24 15:19:27 +08:00 |
|
ValKmjolnir
|
6c3e5e6a02
|
add optimizer
optimizer now does one work: calculate const number before generating bytecode
|
2022-01-22 00:41:08 +08:00 |
|
ValKmjolnir
|
a51b7fe11a
|
optimize codes
|
2022-01-16 22:48:00 +08:00 |
|
ValKmjolnir
|
2ff88b7073
|
add test file 'turingmachine.nas' & change output format of ast & bug fixed
|
2021-12-28 20:23:47 +08:00 |
|
ValKmjolnir
|
1ae354c0cf
|
lexer,parser,import,codegen use the same error module.
|
2021-12-23 21:15:50 +08:00 |
|
ValKmjolnir
|
82181b7af4
|
add debugger framework
with function:backtrace,run,help,show global/local/upvalue,exit
|
2021-12-20 21:33:22 +08:00 |
|
ValKmjolnir
|
e706214854
|
bug fixed & add os.platform
|
2021-12-08 18:46:32 +08:00 |
|
ValKmjolnir
|
e1d5ab2da5
|
add unix.isdir and unix.isfile
|
2021-11-15 22:47:52 +08:00 |
|
ValKmjolnir
|
bc9039dd37
|
change code structure
|
2021-11-02 22:44:42 +08:00 |
|
ValKmjolnir
|
b131a3ea9e
|
add io lib & bug fixed
|
2021-10-27 23:05:25 +08:00 |
|
ValKmjolnir
|
a7b1851967
|
optimize code structure
|
2021-10-16 21:08:57 +08:00 |
|
ValKmjolnir
|
645a652830
|
change function name and cli format
|
2021-10-14 23:22:28 +08:00 |
|
ValKmjolnir
|
321a762612
|
complete simple tutorial
|
2021-10-14 13:42:07 +08:00 |
|
ValKmjolnir
|
414c9c7487
|
change output format of information of bytecodes
|
2021-10-13 22:59:15 +08:00 |
|
ValKmjolnir
|
b77d9a48fb
|
fully functional closure & add benchmark
|
2021-10-10 14:29:23 +08:00 |
|
ValKmjolnir
|
b4f55f0d01
|
prepare for version 8.0
|
2021-10-08 15:32:18 +08:00 |
|
Li Haokun
|
52fbd729cc
|
bad access bug fixed
|
2021-09-13 19:55:03 +08:00 |
|
Li Haokun
|
5ed1b63143
|
update
|
2021-09-10 19:13:42 +08:00 |
|
Li Haokun
|
6f6383f4fc
|
add result.nas
|
2021-09-01 19:14:03 +08:00 |
|
Li Haokun
|
e7afc86d97
|
add isnan
|
2021-08-27 17:43:01 +08:00 |
|
Li Haokun
|
6e8999b695
|
nothing changed
|
2021-08-24 19:34:52 +08:00 |
|
Li Haokun
|
1982ab6b8e
|
security holes fixed
|
2021-08-19 17:54:36 +08:00 |
|