ValKmjolnir
|
b638708722
|
📝 change identifiers' name and test/coroutine.nas, test/filesystem.nas
|
2022-07-06 16:04:21 +08:00 |
|
ValKmjolnir
|
a04ed2a4aa
|
📝 change makefile and update output format of --opcnt and --detail
|
2022-07-06 11:57:40 +08:00 |
|
ValKmjolnir
|
82b33ffe4a
|
📝 change name of some identifiers. shrink size of main stack.
|
2022-07-05 18:13:54 +08:00 |
|
ValKmjolnir
|
92d68b357c
|
⚡ optimize vm
|
2022-07-04 00:16:04 +08:00 |
|
ValKmjolnir
|
a2e2d5d8f6
|
✨ add native function runtime.argv() to get command line arguments
|
2022-06-04 20:12:00 +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
|
882ecac100
|
📝 update README.md
|
2022-05-25 14:05:58 +08:00 |
|
ValKmjolnir
|
ebfacd9197
|
⚡ optimize codes
|
2022-05-22 18:19:13 +08:00 |
|
ValKmjolnir
|
99dca532f6
|
📝 add notes in nasal_codegen.h and nasal_vm.h. add register_info() in debugger.
|
2022-05-21 14:22:54 +08:00 |
|
ValKmjolnir
|
07eeaadf96
|
⚡ optimize codes: store upvalue on stack & debugger now can output information of registers
|
2022-05-20 21:19:43 +08:00 |
|
ValKmjolnir
|
120ceb429a
|
🚀 add coroutine library(beta) and lib function settimer&maketimestamp
|
2022-05-19 20:09:23 +08:00 |
|
ValKmjolnir
|
712a047a43
|
🐛 now builtin_md5 uses unsigned char instead of char
|
2022-05-15 20:35:20 +08:00 |
|
ValKmjolnir
|
396d55a207
|
✅ fix some warnings
|
2022-05-09 18:42:40 +08:00 |
|
ValKmjolnir
|
c5171c735a
|
💬 change code related to macros 'PRTHEX'
|
2022-05-08 19:43:27 +08:00 |
|
ValKmjolnir
|
51a1279110
|
✨ add utf-8 identifier check in nasal_lexer & fix printf format at windows platform & add test file utf8chk.nas
|
2022-05-07 16:50:13 +08:00 |
|
ValKmjolnir
|
de262980cc
|
🎨 improve rawstr() and builtin_getcwd(..), change format output in nasal_vm::valinfo()
|
2022-05-07 02:22:49 +08:00 |
|
ValKmjolnir
|
23a5c1b1ad
|
🐛 bug fix
|
2022-05-06 20:58:02 +08:00 |
|
ValKmjolnir
|
fd8a148d0c
|
bytecode info print and debugger will show the front 16 characters of strings whose length is greater than 16
|
2022-05-02 16:56:03 +08:00 |
|
ValKmjolnir
|
7417d5e635
|
change makefile
|
2022-04-26 22:53:35 +08:00 |
|
ValKmjolnir
|
785572634b
|
change visual settings in -c/-dbg
|
2022-04-23 01:51:49 +08:00 |
|
ValKmjolnir
|
4f5fd3de33
|
op_addeq~op_lnkeq and op_addeqc~op_lnkeqc and op_meq operands now can do pop, this will decrease the frequency of calling op_pop
|
2022-04-17 17:20:18 +08:00 |
|
ValKmjolnir
|
fc25dd69e1
|
fix bug in codegen: foreach/forindex(id;vec/hash) may cause segmentation fault because of incorrect generated operand
|
2022-04-16 19:45:55 +08:00 |
|
ValKmjolnir
|
4503239731
|
change STACK_MAX_DEPTH to nasal_gc::stack_depth
|
2022-04-09 23:14:28 +08:00 |
|
ValKmjolnir
|
399b2f0ce9
|
bug fixed & add systime, finished vecindex
|
2022-04-04 19:08:48 +08:00 |
|
ValKmjolnir
|
aed5e27409
|
bug fix & optimize test code & add lib function: subvec, floor, abs, isfunc, isghost, isint, isnum, isscalar, isstr, isvec, vecindex(unfinished)
|
2022-04-04 18:38:25 +08:00 |
|
ValKmjolnir
|
dd7740f1fd
|
update test/md5.nas(still has bug) & add libmd5 in module(written in C++)
|
2022-03-28 17:14:11 +08:00 |
|
ValKmjolnir
|
617ad03d33
|
add math.pow
|
2022-03-27 16:14:55 +08:00 |
|
ValKmjolnir
|
86f6296268
|
change opcode print format
|
2022-03-27 01:20:17 +08:00 |
|
ValKmjolnir
|
c4d52a88cd
|
update docs & fix bug in nasal_builtin.h
|
2022-03-16 15:30:34 +08:00 |
|
ValKmjolnir
|
9bcad59e45
|
change enum obj_type to nasal_obj::obj_type
|
2022-03-15 22:51:14 +08:00 |
|
ValKmjolnir
|
f26719e1d3
|
visual update
|
2022-03-10 16:05:49 +08:00 |
|
ValKmjolnir
|
e54ef9620f
|
change nasal_ref value option functions' output types from pointers to references
|
2022-03-09 22:54:54 +08:00 |
|
ValKmjolnir
|
61666d275d
|
delete lstk&fstk, store local address and function on stack and in vm registers
|
2022-03-08 17:30:40 +08:00 |
|
ValKmjolnir
|
cd808a5e6d
|
update detailed-info
|
2022-03-03 19:00:23 +08:00 |
|
ValKmjolnir
|
40f61a9dd4
|
fix bug of upval_state
|
2022-03-02 19:28:17 +08:00 |
|
ValKmjolnir
|
243aafd417
|
fix bug of -o not working.
|
2022-02-23 21:56:45 +08:00 |
|
ValKmjolnir
|
a4738e8c7d
|
delete operand op_nop
|
2022-02-16 23:27:22 +08:00 |
|
ValKmjolnir
|
5fba784d05
|
add new gc type vm_upval
|
2022-02-13 22:40:54 +08:00 |
|
ValKmjolnir
|
9139e34c0b
|
update README & bug fixed
|
2022-02-13 16:10:02 +08:00 |
|
ValKmjolnir
|
e7f503fae1
|
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
|
980350d70a
|
prepare for function-call optimization
|
2022-02-12 18:03:50 +08:00 |
|
ValKmjolnir
|
a176022840
|
add notes in lib.nas & add runtime.gc() & add total instruction count in '-o'.
|
2022-02-09 15:53:09 +08:00 |
|
ValKmjolnir
|
24a1e39ad3
|
add garbage collector and memory allocator info. use '-d' to activate this function.
|
2022-02-08 23:40:52 +08:00 |
|
ValKmjolnir
|
2a85e92d4a
|
optimize test file & little update.
|
2022-02-06 19:55:45 +08:00 |
|
ValKmjolnir
|
c55ce758ed
|
change increment arguments to a more efficiency level & change gc.nil, gc.one, gc.zero to constant nil, one, zero
|
2022-02-04 01:51:30 +08:00 |
|
ValKmjolnir
|
df24db5b58
|
optimize nasal_import::check_import
|
2022-01-30 23:26:30 +08:00 |
|
ValKmjolnir
|
c68b4c5947
|
add new option -op & --optimize to use optimizer | delete bytecode op_pone & op_pzero
|
2022-01-22 13:37:49 +08:00 |
|
ValKmjolnir
|
30650bb64f
|
update error info (except parser)
prepare for nasal_err module
|
2021-12-23 14:09:54 +08:00 |
|
ValKmjolnir
|
e79d1eb8a4
|
add debugger function: break point & next step
|
2021-12-21 15:27:38 +08:00 |
|
ValKmjolnir
|
189d49fa4a
|
add debugger framework
with function:backtrace,run,help,show global/local/upvalue,exit
|
2021-12-20 21:33:22 +08:00 |
|