ValKmjolnir
e92134c5e8
🚀 add [[noreturn]]
2022-08-16 01:40:22 +08:00
ValKmjolnir
4ab8a730a6
📝 change int in code to i32, optimize code.
2022-07-31 02:19:29 +08:00
ValKmjolnir
9c779b871f
⚡ optimize code & chdir will not trigger crash if failed to call
2022-07-30 19:17:33 +08:00
ValKmjolnir
fa8a568f72
🚀 shrink stack size & optimize nasal_vm::traceback
2022-07-25 00:23:07 +08:00
ValKmjolnir
bbfe3fff9a
📝 doc fix
2022-07-23 17:21:44 +08:00
ValKmjolnir
49a7ed28e9
🚀 change std::string to string, change identifiers' name, -o is now a function available in debug mode.
2022-07-23 17:00:25 +08:00
ValKmjolnir
65fe7daff6
📝 change name of used types
2022-07-23 12:35:21 +08:00
ValKmjolnir
0d750ca685
⚡ optimize op_para and op_deft: change hashmap<string,u64> to hashmap<u32,u32>
2022-07-23 12:02:41 +08:00
ValKmjolnir
a3c3c34565
⚡ change some branches
2022-07-22 22:24:48 +08:00
ValKmjolnir
7a9ce29710
🚀 change std::cout to std::clog to put some log info
2022-07-21 23:16:16 +08:00
ValKmjolnir
bec589b85f
📝 shrink size of README.md
2022-07-20 22:22:50 +08:00
ValKmjolnir
2fa59a7e95
⚡ optimize codes
2022-07-19 23:55:12 +08:00
ValKmjolnir
dea85929cd
📝 change identifiers' name
2022-07-18 23:54:44 +08:00
ValKmjolnir
6037fdccc3
🐛 fix information print format on MSVC.
2022-07-16 18:47:27 +08:00
ValKmjolnir
7c1d45a200
🚀 update makefile to choose different compilers by users & fix some codes for MSVC to compile.
2022-07-16 16:53:11 +08:00
ValKmjolnir
2f89c95307
⚡ first step trying to make this project compiled by MSVC: using indirect-threading, change \e to \033.
2022-07-16 01:02:33 +08:00
ValKmjolnir
1097e46a23
📝 fix some wanings.
2022-07-11 23:53:23 +08:00
ValKmjolnir
0be63c8684
📝 fix some warnings.
2022-07-10 23:55:51 +08:00
ValKmjolnir
00c7c4044a
⚡ optimize code & replace all printf with std::cout.
2022-07-09 23:36:14 +08:00
ValKmjolnir
bdd0cb2912
📝 change some identifiers' name.
2022-07-09 16:24:58 +08:00
ValKmjolnir
fdcd85dadf
⚡ optimize code.
2022-07-08 23:00:36 +08:00
ValKmjolnir
87d7de5d73
📝 change some identifiers' name.
2022-07-08 18:16:00 +08:00
ValKmjolnir
aea8b317c7
🚀 shrink code size & now import module can search lib file from local dir and dirs in PATH
2022-07-08 00:42:56 +08:00
ValKmjolnir
ec308f8053
⚡ optimize codes. details:
...
1. delete gc::builtin_alloc
2. add convenient way of getting new string object: gc::newstr, and shrink the size of codes
3. update doc
4. add gc::temp to be used in native/module functions to avoid being recognized as garbage incorrectly when triggered mark-sweep
2022-07-07 17:51:30 +08:00
ValKmjolnir
3d1e3f49dc
📝 change identifiers' name and test/coroutine.nas, test/filesystem.nas
2022-07-06 16:04:21 +08:00
ValKmjolnir
4499bf7bac
📝 change makefile and update output format of --opcnt and --detail
2022-07-06 11:57:40 +08:00
ValKmjolnir
9110a44b90
📝 change name of some identifiers. shrink size of main stack.
2022-07-05 18:13:54 +08:00
ValKmjolnir
7e25bc15e0
⚡ optimize vm
2022-07-04 00:16:04 +08:00
ValKmjolnir
ec2866021f
✨ add native function runtime.argv() to get command line arguments
2022-06-04 20:12:00 +08:00
ValKmjolnir
9194c966c8
🐛 visual changement & bug fix in test/json.nas & optimize test/bp.nas
2022-05-30 21:27:24 +08:00
ValKmjolnir
e2086e352f
📝 update README.md
2022-05-25 14:05:58 +08:00
ValKmjolnir
8b63c44266
⚡ optimize codes
2022-05-22 18:19:13 +08:00
ValKmjolnir
11b5d6fc56
📝 add notes in nasal_codegen.h and nasal_vm.h. add register_info() in debugger.
2022-05-21 14:22:54 +08:00
ValKmjolnir
c47bc7b881
⚡ optimize codes: store upvalue on stack & debugger now can output information of registers
2022-05-20 21:19:43 +08:00
ValKmjolnir
8915a9b96a
🚀 add coroutine library(beta) and lib function settimer&maketimestamp
2022-05-19 20:09:23 +08:00
ValKmjolnir
9364789896
🐛 now builtin_md5 uses unsigned char instead of char
2022-05-15 20:35:20 +08:00
ValKmjolnir
7263b1552f
✅ fix some warnings
2022-05-09 18:42:40 +08:00
ValKmjolnir
e1c09fb4a2
💬 change code related to macros 'PRTHEX'
2022-05-08 19:43:27 +08:00
ValKmjolnir
a4bbb100b6
✨ 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
7f51676833
🎨 improve rawstr() and builtin_getcwd(..), change format output in nasal_vm::valinfo()
2022-05-07 02:22:49 +08:00
ValKmjolnir
3e418dbcff
🐛 bug fix
2022-05-06 20:58:02 +08:00
ValKmjolnir
7fd3c4213f
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
1d4494163c
change makefile
2022-04-26 22:53:35 +08:00
ValKmjolnir
ce48ec1b8d
change visual settings in -c/-dbg
2022-04-23 01:51:49 +08:00
ValKmjolnir
cd2736b924
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
85490a3136
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
68c1b43179
change STACK_MAX_DEPTH to nasal_gc::stack_depth
2022-04-09 23:14:28 +08:00
ValKmjolnir
60a74a13c8
bug fixed & add systime, finished vecindex
2022-04-04 19:08:48 +08:00
ValKmjolnir
b92930cb71
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
46f2392993
update test/md5.nas(still has bug) & add libmd5 in module(written in C++)
2022-03-28 17:14:11 +08:00