Commit Graph

929 Commits

Author SHA1 Message Date
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
ValKmjolnir b2f09ec855 closure bugs fixed 2021-08-17 01:18:35 +08:00
Li Haokun f07e7b52df update hexdump.nas 2021-08-13 15:10:20 +08:00
Li Haokun 894e280ef4 add hexdump.nas 2021-08-12 20:01:51 +08:00
Li Haokun 5bbbb28cfb update lexer 2021-08-12 19:00:17 +08:00
Li Haokun 331e0e1728 fully functional closure 2021-08-11 14:54:17 +08:00
Li Haokun bf07faf2ab update readme 2021-08-10 17:55:49 +08:00
ValKmjolnir 49e9412915 use same indentation 2021-08-09 21:30:18 +08:00
Li Haokun e9bd033883 update 2021-08-09 19:13:39 +08:00
ValKmjolnir 143a59c735 update 2021-08-09 01:02:27 +08:00
Li Haokun d5e675d0d5 update 2021-08-06 18:57:06 +08:00
Li Haokun b069f3875e update 2021-08-05 19:02:41 +08:00
Li Haokun 55ddd90cc3 update debug info 2021-08-04 14:32:56 +08:00
ValKmjolnir ed535509a0 update README 2021-08-04 00:03:49 +08:00
Li Haokun a6fe835ed4 variables can be used before definition
change program to command line
change trace back info
change print function of nasal_vec and nasal_hash
2021-08-03 18:55:11 +08:00
ValKmjolnir c5fea0c101 update 2021-08-01 22:37:42 +08:00
ValKmjolnir a1adb5b948 add test file 2021-08-01 22:34:02 +08:00
ValKmjolnir ead5ca32b3 syntax bug fixed
syntax like:
var f=func(){}
(var a,b,c)=(1,2,3);
will be incorrectly recognized like:
var f=func(){}(var a,b,c)

this bug is fixed now.
2021-08-01 02:11:27 +08:00
ValKmjolnir 4c2a4ca091 update readme:difference between this and andy's interpreter 2021-08-01 01:54:14 +08:00
Li Haokun d1cffa76c6 update parser
one bug found, waiting to be fixed
2021-07-28 18:22:40 +08:00
Li Haokun 2489a1ddad update 2021-07-24 19:59:56 +08:00
Li Haokun 284ff5abb6 fixed bug in nasal_parse 2021-07-21 17:38:11 +08:00
ValKmjolnir 26bbdcf463 bug fixed & raw string print 2021-07-21 00:20:25 +08:00
Li Haokun f72fb86912 show vm stack top's info when error occurs 2021-07-20 19:21:05 +08:00
Li Haokun 1a180ae01a update 2021-07-19 17:04:45 +08:00
Li Haokun d9d7a1edfc add trace back info 2021-07-16 17:18:13 +08:00
ValKmjolnir 5de65e584d prepare for debugger 2021-07-16 02:17:53 +08:00
ValKmjolnir 5c958d7229 update 2021-07-14 01:24:15 +08:00
ValKmjolnir d7ba29e02c delete slice_stack 2021-07-07 14:46:46 +08:00
ValKmjolnir e974468881 add const compare instructions 2021-07-03 15:22:23 +08:00
ValKmjolnir 81131520d7 add instruction & changes in codegen
add some instructions that execute const values.
the first symbol called in assignment will use op_load instead of op_meq,op_pop to assign.
2021-06-29 17:18:05 +08:00
ValKmjolnir ee9afe1cf1 change instruction dispatch to computed-goto
bug fixed
prepare for version 7.0
2021-06-26 14:53:10 +08:00
ValKmjolnir 855e0e441f avoid unnecessary deep copy by using rvalue ref
and test file update.
bug fixed in test/lexer.nas
v6.5
2021-06-24 22:10:08 +08:00
ValKmjolnir a734b99beb performance optimization of vm/lex/parse/test 2021-06-24 00:26:26 +08:00
ValKmjolnir f0565c7de6 change mcall to call->mcall&allow differen lvalue in assignment 2021-06-21 16:46:47 +08:00
Valk Richard Li 0f298244a2 update 2021-06-21 01:02:09 +08:00
Valk Richard Li 40a1189b18 nothing changed 2021-06-20 01:27:01 +08:00
Valk Richard Li b9aa7f5db2 add statistical information 2021-06-19 00:32:10 +08:00
Valk Richard Li 05fcacde37 bug fixed & delete operand vapp 2021-06-15 00:49:32 +08:00
Valk Richard Li d9904774fc update test file 2021-06-14 00:27:00 +08:00
Valk Richard Li 411c2e5c4c add tips 2021-06-13 01:01:32 +08:00
Valk Richard Li 1d3c4b0843 fixed an error in README 2021-06-12 01:23:06 +08:00
Valk Richard Li 19517e7bfc Update README.md 2021-06-11 15:28:25 +08:00
Valk Richard Li 1cd627d9c7 Add command line parameters & chr supports extended ASCII 2021-06-11 15:16:06 +08:00
Valk Richard Li 166fe32839 front end optimization&stack overflow prompt
change parameter type to avoid unnecessary copies of string.
change stack depth from 65536<<4 to 16+(65536<<2).
now you could know stack overflow when it happens
2021-06-07 23:53:43 +08:00
Valk Richard Li a3dbaebfd8 bug fixed
fixed SIGSEGV when failed to load file in nasal_lexer::openfile
2021-06-06 19:17:02 +08:00
Valk Richard Li a0ff523229 more efficient str2num 2021-06-05 20:42:58 +08:00
Valk Richard Li 27ab63024c update README.md(some history of this project)
AND a question of admins' brains of gitee
2021-06-05 17:15:07 +08:00