Commit Graph

139 Commits

Author SHA1 Message Date
ValKmjolnir
12affcde2b 📝 update test/hexdump.nas test/md5compare.nas 2022-06-16 18:21:11 +08:00
ValKmjolnir
9d4a0e1b1f 📝 update stl/process_bar.nas 2022-06-16 01:03:51 +08:00
ValKmjolnir
031c56b08b 📝 update stl/process_bar.nas and test/md5compare.nas 2022-06-15 20:21:03 +08:00
ValKmjolnir
bc90022dff 🚀 add stl/log.nas and stl/process_bar.nas 2022-06-15 00:36:49 +08:00
ValKmjolnir
d4d21f7af3 📝 update stl/fg_env.nas 2022-06-11 20:53:13 +08:00
ValKmjolnir
503b834f05 📝 update test/httptest.nas 2022-06-11 12:49:26 +08:00
ValKmjolnir
17495f12f9 📝 update test/httptest.nas 2022-06-08 20:01:22 +08:00
ValKmjolnir
20a4a4df4e 🚀 finish socket library:
socket.socket()

socket.closesocket()

socket.shutdown()

socket.bind()

socket.listen()

socket.connect()

socket.accept()

socket.send() socket.sendto()

socket.recv() socket.recvfrom()

socket.errno()
2022-06-08 19:06:16 +08:00
ValKmjolnir
ec2866021f add native function runtime.argv() to get command line arguments 2022-06-04 20:12:00 +08:00
ValKmjolnir
6f709f30f5 🚀 add native function println & add test/occupation.nas 2022-06-04 19:22:28 +08:00
ValKmjolnir
954310293d add u32 and() xor() or() nand() not() 2022-06-03 21:34:02 +08:00
ValKmjolnir
ece6142475 🚀 add stl/fg_env.nas & delete test/props props_sim maketimer_sim.nas 2022-05-31 20:36:39 +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
f92089b90a 📝 add maketimer_multi_coroutine_test(vm_num) in test/maketimer_sim.nas 2022-05-23 22:12:58 +08:00
ValKmjolnir
6ee0ce9398 🐛 fix bug that gc cannot mark values in coroutine & add maketimer_sim.nas
update props_sim.nas

update auto_crash.nas
2022-05-23 20:23:20 +08:00
ValKmjolnir
b4aad5249b 🎨 fix a bug in module/keyboard.cpp that if program exited with an error, the terminal may not echo the text you input 2022-05-20 21:42:28 +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
2542f4e43e 📝 update test/module_test.nas 2022-05-17 21:48:08 +08:00
ValKmjolnir
387d44f9cb 📝 update test files 2022-05-17 18:22:24 +08:00
ValKmjolnir
9364789896 🐛 now builtin_md5 uses unsigned char instead of char 2022-05-15 20:35:20 +08:00
ValKmjolnir
10e0bb0e8b 📝 update test/utf8chk.nas 2022-05-07 17:18:29 +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
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
e1f1fc64c4 update test file diff.nas& add math.max math.min 2022-05-01 21:10:23 +08:00
ValKmjolnir
3854e582a2 add test file diff.nas 2022-04-30 20:00:15 +08:00
ValKmjolnir
ce48ec1b8d change visual settings in -c/-dbg 2022-04-23 01:51:49 +08:00
ValKmjolnir
f4bac99a3a optimize codes 2022-04-13 19:08:06 +08:00
ValKmjolnir
5cfe40e604 update test/wavecollapse.nas 2022-04-10 16:47:27 +08:00
ValKmjolnir
ced02c9ac6 add test file wavecollapse.nas 2022-04-10 15:34:20 +08:00
ValKmjolnir
c9fdf677b9 change test/md5compare.nas 2022-04-06 22:56:21 +08:00
ValKmjolnir
ad60aecdee change module/libmd5 to native function builtin_md5() in nasal_builtin.h 2022-04-06 22:30:49 +08:00
ValKmjolnir
0b4db9467e add native function abort(), assert() 2022-04-06 21:25:20 +08:00
ValKmjolnir
28ca3baf87 add native function isa(object,class) 2022-04-05 22:33:55 +08:00
ValKmjolnir
8b7e0e5181 add native function: srand, values, find. 2022-04-05 22:15:05 +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
5f4b2d80dc optimize libmd5.nas & test/md5.nas 2022-04-03 18:10:00 +08:00
ValKmjolnir
a9c66685e4 change module/makefile and test/md5compare.nas 2022-04-01 22:52:04 +08:00
ValKmjolnir
1adeb2ed77 update test/md5compare.nas & optimize test/md5.nas 2022-03-31 19:31:00 +08:00
ValKmjolnir
141cdd79db update test/md5compare.nas
and CAUTION: now the cpp&nas md5 program may not calculate strings including unicode
2022-03-30 21:42:30 +08:00
ValKmjolnir
2cbd6a8e05 update md5compare.nas 2022-03-29 22:54:17 +08:00
ValKmjolnir
c5362acaeb fix bug in test/md5.nas & add test file md5compare.nas 2022-03-29 22:36:28 +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
ValKmjolnir
51e9b0b5ab add math.pow 2022-03-27 16:14:55 +08:00
ValKmjolnir
b304fb5b7c update README.md 2022-03-27 01:36:38 +08:00
ValKmjolnir
c6efb9f190 change opcode print format 2022-03-27 01:20:17 +08:00
ValKmjolnir
b3a8b421f8 fix bug: windows ps/cmd output unicode in bytecodes abnormally.
so we use the hex format to print them.
2022-03-23 22:54:07 +08:00
ValKmjolnir
c2be0b9836 add test/snake.nas 2022-03-20 22:08:11 +08:00