Commit Graph

226 Commits

Author SHA1 Message Date
ValKmjolnir 76798f1f38 🐛 fix compilation error in VS 2023-04-12 19:44:13 +08:00
ValKmjolnir 8655c5091e merge runtime regs into struct context 2023-04-08 00:18:58 +08:00
ValKmjolnir 4bcde1eb3f update test/jsonrpc.nas 2023-03-25 21:26:49 +08:00
ValKmjolnir 84fec7ae4f add test/jsonrpc.nas and fix bug
bug: in nasocket.cpp, recv and recvfrom do not place 0 after reciving
data into the buffer.
2023-03-23 00:09:51 +08:00
ValKmjolnir d6c75079af 📝 update test file datalog.nas 2023-03-14 00:16:54 +08:00
ValKmjolnir ab5462f556 visual update 2023-03-11 18:15:27 +08:00
ValKmjolnir 1039d7d7ba add new operand calculate const and pop 2023-03-10 22:27:06 +08:00
ValKmjolnir c6becf864d optimize codegen 2023-03-09 23:00:25 +08:00
ValKmjolnir 241764545a 📝 shorten the running time of test process 2023-03-02 00:36:48 +08:00
ValKmjolnir 0c81187391 add error report info in stl/mat 2023-03-02 00:26:52 +08:00
ValKmjolnir 3631b1e9c8 🚀 add more matrix operation in stl/mat.nas
and bp example test
2023-03-01 23:37:13 +08:00
ValKmjolnir 034085e6cb 🚀 add operator ^= &= |=
fix bug of parsing expressions beginning with floater
2023-02-28 00:30:27 +08:00
ValKmjolnir a06b17546e 🚀 add bitwise operators or, xor, and 2023-02-16 00:24:32 +08:00
ValKmjolnir 43371d5b4c 🐛 fix codegen for binary not on some ast nodes 2023-02-12 15:33:38 +08:00
ValKmjolnir 8c02aa0fff 🚀 add binary negation 2023-02-12 15:22:05 +08:00
ValKmjolnir e2e6a64bc7 🐛 fix bug in test/calc.nas 2023-02-03 19:01:00 +08:00
ValKmjolnir 94f7e0a80a 🚀 add test file auto-push.nas 2023-02-02 21:28:11 +08:00
ValKmjolnir 196c1933d1 🚀 add file::find_all_files_with_extension 2023-02-02 21:24:21 +08:00
ValKmjolnir 8ef67d74cf 🐛 fix bugs in stl/json, now it runs correctly 2023-01-31 19:39:22 +08:00
ValKmjolnir ad94238b79 update test/ascii-art.nas 2023-01-30 19:13:08 +08:00
ValKmjolnir 23f41891cf optimize test files
httptest.nas: when clicking mandel.nas link, this may cause memory overflow in new gc
2023-01-23 23:14:34 +08:00
ValKmjolnir 21a8579d8f add keyword support 'true' and 'false'
true is now number 1.0

false is number 0.0
2023-01-16 17:44:56 +08:00
ValKmjolnir 22aa3ac5b7 🚀 coroutine.resume can pass arguments 2023-01-02 18:53:58 +08:00
ValKmjolnir 4672211575 optimize code & add comments 2023-01-02 01:00:16 +08:00
ValKmjolnir cce9c83adc update test file 'life.nas' 2022-12-27 18:25:58 +08:00
ValKmjolnir c63bd531a5 🎨 change clean command in makefiles 2022-12-25 17:58:05 +08:00
ValKmjolnir 791ddfa3cb optimize test file 2022-12-10 01:24:46 +08:00
ValKmjolnir 9d33fafb81 🐛 fix dynamic arguments load bug in nasal_vm 2022-12-09 00:56:53 +08:00
ValKmjolnir 39faa33b4e optimize gc 2022-12-07 01:17:40 +08:00
ValKmjolnir c88cbd0063 add runtime.gc.extend 2022-12-04 20:28:51 +08:00
ValKmjolnir e43bd1eaf2 update test files 2022-12-03 01:24:56 +08:00
ValKmjolnir b28e85a7a1 little optimization 2022-11-30 01:11:26 +08:00
ValKmjolnir 34e29e398a 🎨 change code format 2022-11-26 22:49:22 +08:00
ValKmjolnir 7c075a6071 move lvalue check from parse to codegen 2022-11-20 17:06:13 +08:00
ValKmjolnir 58b10b99a7 🎨 improve error report 2022-11-19 22:47:19 +08:00
ValKmjolnir 2772fa748d 🚀 change module loading 2022-11-15 21:23:34 +08:00
ValKmjolnir 5821c40cb4 🚀 add new native function char 2022-11-12 17:03:56 +08:00
ValKmjolnir a3ce6a1824 optimize test/console3D.nas 2022-11-11 00:37:14 +08:00
ValKmjolnir a0fe9ac669 add new ways of calling dylib function 2022-11-11 00:11:01 +08:00
ValKmjolnir e150b632db 🚀 add new module matrix.cpp (in dev) 2022-11-06 23:30:18 +08:00
ValKmjolnir 2615a3ab85 🚀 optimize code 2022-11-06 18:20:10 +08:00
ValKmjolnir b950ed17c2 🚀 add gc time info 2022-11-04 21:36:54 +08:00
ValKmjolnir d5bd3c0625 🚀 add test file console3D.nas 2022-11-04 01:18:38 +08:00
ValKmjolnir be42d47c93 🐛 fix ast print bug & delete some macros 2022-10-30 18:40:03 +08:00
ValKmjolnir d3fd8ce336 🎨 improve code format
delete option -v, --version, -l, --lex
2022-10-30 01:26:26 +08:00
ValKmjolnir b5828137f2 🎨 improve format of code 2022-10-28 23:28:15 +08:00
ValKmjolnir 8583be337e 🚀 change module function parameter format to avoid warnings 2022-10-24 01:12:25 +08:00
ValKmjolnir ac26105231 🚀 add stl/csv.nas & ast name change 2022-10-19 00:54:21 +08:00
ValKmjolnir d72aee62fa add stl/json.nas & fix bug
bug: may cause program crash if stack overflow occurs on main stack
2022-10-08 21:34:47 +08:00
ValKmjolnir d3e784d191 🚀 crashed coroutine will not make main thread crash. 2022-10-06 23:11:27 +08:00