Commit Graph

209 Commits

Author SHA1 Message Date
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
ValKmjolnir eec7c2caf1 🚀 delete unnecessary codes & add stl/string.nas 2022-10-05 16:03:47 +08:00
ValKmjolnir eb6b9c372e 🚀 add high resolution progress bar 2022-09-28 23:45:15 +08:00
ValKmjolnir 64914ea815 🚀 update test file 2022-09-20 21:51:52 +08:00
ValKmjolnir eed4ca64b3 🚀 update ascii-art.nas and stl/padding.nas 2022-09-20 00:41:08 +08:00
ValKmjolnir f9b8957385 🚀 move pic directory into doc 2022-09-19 00:10:08 +08:00
ValKmjolnir 89d5870c1b 📝 add notes in test files & use system("color") to use ANSI esc seq 2022-09-14 23:15:36 +08:00
ValKmjolnir 73c3279dae 📝 add interesting gifs into docs 2022-09-13 23:00:48 +08:00
ValKmjolnir 4b4489f833 🐛 fix bug that int() cannot convert numeric string 2022-09-12 22:45:35 +08:00
ValKmjolnir b743f090ec change parameter list of 2022-09-11 15:10:30 +08:00
ValKmjolnir 5b412153a3 optimize stl/sort.nas and test/calc.nas 2022-09-10 15:45:25 +08:00
ValKmjolnir a76253412e 🐛 fix bug that word_collector.nas split some words incorrectly 2022-09-09 21:48:10 +08:00
ValKmjolnir 40e6c85657 📝 update test file & add new test file word_collector.nas 2022-09-09 01:00:09 +08:00
ValKmjolnir 6cd88f4e45 🚀 add new stl file padding.nas and update test files. 2022-09-04 17:53:00 +08:00
ValKmjolnir 28fc1eb850 📝 use bold font in test/watchdog.nas 2022-09-01 00:04:14 +08:00
ValKmjolnir fb00ddc19a 🚀 add colorful error info print. 2022-08-31 00:56:19 +08:00
ValKmjolnir c7662af0fc 🚀 add lib function exit() and add test file watchdog.nas to run the nasal file when it is changed. 2022-08-27 18:12:32 +08:00
ValKmjolnir eb0f5ffcc2 📝 update stl/file and test files. 2022-08-27 17:26:01 +08:00