This website requires JavaScript.
27e25f84ec
update main.cpp and bug fix
ValKmjolnir
2022-03-20 18:28:45 +0800
e6457651d3
add unix.waitpid
ValKmjolnir
2022-03-16 18:44:38 +0800
c4d52a88cd
update docs & fix bug in nasal_builtin.h
ValKmjolnir
2022-03-16 15:30:34 +0800
9bcad59e45
change enum obj_type to nasal_obj::obj_type
ValKmjolnir
2022-03-15 22:51:14 +0800
9a099f66cb
update docs
ValKmjolnir
2022-03-14 20:29:49 +0800
b79d60fab5
add destructors for obj_file, obj_dylib, obj_dir & bug fix
ValKmjolnir
2022-03-13 00:11:50 +0800
82e9e97a26
add destructor for obj_file & change arguments in test/tetris.nas
ValKmjolnir
2022-03-12 23:37:16 +0800
6a1338bb23
update test/tetris.nas
ValKmjolnir
2022-03-11 23:42:09 +0800
3b8a092f36
fix bug in test/json.nas
ValKmjolnir
2022-03-11 15:26:38 +0800
3d86a32b12
update fully functional test/json.nas
ValKmjolnir
2022-03-11 15:11:24 +0800
f26719e1d3
visual update
ValKmjolnir
2022-03-10 16:05:49 +0800
e54ef9620f
change nasal_ref value option functions' output types from pointers to references
ValKmjolnir
2022-03-09 22:54:54 +0800
d8156e839b
add unix.fork&unix.pipe(do not work on windows platform)
ValKmjolnir
2022-03-09 19:03:12 +0800
61666d275d
delete lstk&fstk, store local address and function on stack and in vm registers
ValKmjolnir
2022-03-08 17:30:40 +0800
99f595e16f
update num->string algorithm, now the to_string will output strings with no tailing zeros
ValKmjolnir
2022-03-08 13:40:27 +0800
debe32b187
safer stl/module.nas & add stl/file.nas encapsulated from lib.nas/io
ValKmjolnir
2022-03-06 15:17:39 +0800
ca9b8581b4
add module.nas to safely use dylib
ValKmjolnir
2022-03-05 21:52:29 +0800
a0b341deb5
try fix bug 'use of undeclared identifier 'environ'' on MacOS
ValKmjolnir
2022-03-05 19:24:33 +0800
d3df356299
add unix.environ() & use LPCWSTR in dylib.dlopen on Windows platform
ValKmjolnir
2022-03-05 19:15:52 +0800
cd808a5e6d
update detailed-info
ValKmjolnir
2022-03-03 19:00:23 +0800
40f61a9dd4
fix bug of upval_state
ValKmjolnir
2022-03-02 19:28:17 +0800
f312250d27
update
ValKmjolnir
2022-03-01 14:36:05 +0800
3fac8aa665
fix bug in test/tetris.nas
ValKmjolnir
2022-02-25 23:34:02 +0800
243aafd417
fix bug of `-o` not working.
ValKmjolnir
2022-02-23 21:56:45 +0800
6bc03601d9
update test/tetris.nas
ValKmjolnir
2022-02-23 01:09:31 +0800
f05acaecc7
fix bug in libkey and test/tetris.nas
ValKmjolnir
2022-02-22 18:01:49 +0800
9456a903d7
finish tetris.nas
ValKmjolnir
2022-02-21 17:10:13 +0800
984deed883
finish basic functions of tetris
ValKmjolnir
2022-02-21 00:47:32 +0800
557cb2ebcf
finish map drawing in test/tetris.nas
ValKmjolnir
2022-02-20 17:58:13 +0800
9c055a9a23
add new third-lib libkey that includes function: kbhit,getch,nonblock
ValKmjolnir
2022-02-19 16:55:54 +0800
13a09343e6
update README.md
ValKmjolnir
2022-02-18 15:59:27 +0800
8c67e04cc4
update test file
ValKmjolnir
2022-02-18 15:36:34 +0800
e77bb73a82
add special character `\e`.
ValKmjolnir
2022-02-18 01:58:49 +0800
05fc5db337
change parameter name in native function split.
ValKmjolnir
2022-02-17 23:34:58 +0800
a4738e8c7d
delete operand `op_nop`
ValKmjolnir
2022-02-16 23:27:22 +0800
5f6051e333
change tutorial's place in README.md
ValKmjolnir
2022-02-15 23:42:17 +0800
51afe3dacd
fixed bug when -O0 the program crashes with code 01.
ValKmjolnir
2022-02-14 17:40:19 +0800
0291908675
update README.md
ValKmjolnir
2022-02-14 17:29:26 +0800
5fba784d05
add new gc type vm_upval
ValKmjolnir
2022-02-13 22:40:54 +0800
9139e34c0b
update README & bug fixed
ValKmjolnir
2022-02-13 16:10:02 +0800
e7f503fae1
now local values are stored on stack. upvalue is generated when creating a new function in local scope.
ValKmjolnir
2022-02-12 23:12:30 +0800
980350d70a
prepare for function-call optimization
v8.0
ValKmjolnir
2022-02-12 18:03:50 +0800
0ccd3c9bd0
update test/calc.nas & print function of nasal_vec/nasal_hash
ValKmjolnir
2022-02-11 17:04:27 +0800
3e7ba4d774
little update
ValKmjolnir
2022-02-10 22:20:18 +0800
a176022840
add notes in lib.nas & add runtime.gc() & add total instruction count in '-o'.
ValKmjolnir
2022-02-09 15:53:09 +0800
24a1e39ad3
add garbage collector and memory allocator info. use '-d' to activate this function.
ValKmjolnir
2022-02-08 23:40:52 +0800
a09c6ae2f9
update/optimize test files
ValKmjolnir
2022-02-07 23:41:50 +0800
2a85e92d4a
optimize test file & little update.
ValKmjolnir
2022-02-06 19:55:45 +0800
92646840e4
reuse codes in nasal_vec::print and nasal_hash::print
ValKmjolnir
2022-02-05 23:55:56 +0800
c55ce758ed
change increment arguments to a more efficiency level & change gc.nil, gc.one, gc.zero to constant nil, one, zero
ValKmjolnir
2022-02-04 01:51:30 +0800
aa301aefc3
change increment argument in nasal_gc, because new vm doesn't need to alloc new objects frequently.
ValKmjolnir
2022-02-03 22:43:51 +0800
d6d90ab7c8
change 'global' & 'local' in codegen to std::unordered_map & std::vector<std::unordered_map>>
ValKmjolnir
2022-02-02 23:52:00 +0800
bf780514e6
add constant string calculation in optimizer
ValKmjolnir
2022-02-01 21:20:36 +0800
eaa54035ff
change name of enum:ast_hashmember->ast_pair, ast_new_iter->ast_iter
ValKmjolnir
2022-01-31 17:22:44 +0800
baa4f5a258
change error info of native function __builtin_import
ValKmjolnir
2022-01-31 14:48:51 +0800
df24db5b58
optimize nasal_import::check_import
ValKmjolnir
2022-01-30 23:26:30 +0800
4def93b4ad
bug fixed in nasal_vec::print and nasal_hash::print
ValKmjolnir
2022-01-29 19:51:43 +0800
0a407437a4
change native function num()
ValKmjolnir
2022-01-27 21:41:06 +0800
05ab4640da
add notes of some native functions in lib.nas
ValKmjolnir
2022-01-26 23:51:25 +0800
b92eb4b089
update README.md
ValKmjolnir
2022-01-25 15:02:57 +0800
5778d1e38d
update new test data
ValKmjolnir
2022-01-24 15:19:27 +0800
479e5a2c52
fix errors in README.md
ValKmjolnir
2022-01-22 22:19:14 +0800
2f455c52c1
fix error in README.md
ValKmjolnir
2022-01-22 22:09:00 +0800
78c1f9b7a9
add contents in README.md
ValKmjolnir
2022-01-22 22:05:42 +0800
c68b4c5947
add new option -op & --optimize to use optimizer | delete bytecode op_pone & op_pzero
ValKmjolnir
2022-01-22 13:37:49 +0800
40344455e6
add optimizer optimizer now does one work: calculate const number before generating bytecode
ValKmjolnir
2022-01-22 00:41:08 +0800
630c99c39a
optimize codes
ValKmjolnir
2022-01-16 22:48:00 +0800
46716620e3
add test file 'turingmachine.nas' & change output format of ast & bug fixed
ValKmjolnir
2021-12-28 20:23:47 +0800
70a43c2f03
bug fixed
ValKmjolnir
2021-12-25 15:56:08 +0800
1923fc74e4
update README.md
ValKmjolnir
2021-12-23 21:46:53 +0800
f0ae63bce5
lexer,parser,import,codegen use the same error module.
ValKmjolnir
2021-12-23 21:15:50 +0800
30650bb64f
update error info (except parser)
ValKmjolnir
2021-12-23 14:09:54 +0800
d87aef82b7
debug info now shows both source code and bytecode
ValKmjolnir
2021-12-21 19:57:23 +0800
e79d1eb8a4
add debugger function: break point & next step
ValKmjolnir
2021-12-21 15:27:38 +0800
189d49fa4a
add debugger framework
ValKmjolnir
2021-12-20 21:33:22 +0800
6a543f2aa7
Merge pull request #7 from sidi762/master
Li Haokun
2021-12-17 00:31:16 +0800
c27c5b70ee
little update
ValKmjolnir
2021-12-16 23:53:13 +0800
0a246d2fc7
Merge branch 'ValKmjolnir:master' into master
Sidi Liang
2021-12-13 08:49:45 +0800
0956a08bec
Update c-cpp.yml
Sidi Liang
2021-12-13 08:46:20 +0800
5a80258d20
bug fixed & add os.platform
ValKmjolnir
2021-12-08 18:46:32 +0800
85bb502191
Merge pull request #6 from sidi762/master
Li Haokun
2021-12-07 10:37:39 +0800
ead49a657e
Change the asset name to 'nasal'
Sidi Liang
2021-12-06 23:00:25 +0800
df5be35af8
Attempt to make nightly builds for macOS
Sidi Liang
2021-12-06 22:55:18 +0800
19d5952210
Update c-cpp.yml
Sidi Liang
2021-12-06 22:47:37 +0800
afd87da5e7
Try out GitHub Actions
Sidi Liang
2021-12-06 22:36:08 +0800
9861ecd03e
add dylib.dlopen dylib.dlsym dylib.dlclose dylib.dlcall now you could add your own modules into nasal without changing the source code!
ValKmjolnir
2021-12-03 19:31:03 +0800
aa191a9feb
delete ret stack/ add math.lg now return address is stored on value stack
ValKmjolnir
2021-12-02 22:23:22 +0800
b8ef3cf6b6
delete op_cntpop & counter stack
ValKmjolnir
2021-11-25 18:13:31 +0800
0a8655eb4d
fixed bug of in_foreach and in_forindex
ValKmjolnir
2021-11-22 14:24:28 +0800
52b49edbcf
add unix.isdir and unix.isfile
ValKmjolnir
2021-11-15 22:47:52 +0800
6a35c58df4
2 bugs fixed:
ValKmjolnir
2021-11-14 23:05:34 +0800
cd08b2d1bb
change code structure
ValKmjolnir
2021-11-02 22:44:42 +0800
f8e2918561
add unix.opendir unix.readdir unix.closedir
ValKmjolnir
2021-10-31 23:11:04 +0800
e4ea34db51
add unix.time unix.chdir unix.sleep unix.getcwd unix.getenv
ValKmjolnir
2021-10-29 19:52:49 +0800
4bfce37f40
add bits lib
ValKmjolnir
2021-10-28 21:49:08 +0800
fd0d836c03
add io lib & bug fixed
ValKmjolnir
2021-10-27 23:05:25 +0800
183446d32a
bug fixed
ValKmjolnir
2021-10-26 22:34:02 +0800
540aeb73f4
optimize nasal_ast and fix bug in opr_slc2
ValKmjolnir
2021-10-20 20:54:23 +0800
4f0acc4d63
fix dynamic para error
ValKmjolnir
2021-10-18 22:05:31 +0800
56280db2c7
fix sigsegv error
ValKmjolnir
2021-10-18 21:50:25 +0800