Commit Graph

1297 Commits

Author SHA1 Message Date
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 72551de9e9 🐛 fix bug that cannot parse return true/false 2023-02-02 19:35:42 +08:00
ValKmjolnir 8ef67d74cf 🐛 fix bugs in stl/json, now it runs correctly 2023-01-31 19:39:22 +08:00
ValKmjolnir 7e43a5a709 📝 update readme 2023-01-31 19:01:36 +08:00
ValKmjolnir ad94238b79 update test/ascii-art.nas 2023-01-30 19:13:08 +08:00
ValKmjolnir e65ee22021 change sprintf to snprintf in logtime() 2023-01-24 23:10:01 +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 60a3f41f1d add detail location info in tokens
prepare for multi-line error reporter module
2023-01-10 22:22:27 +08:00
ValKmjolnir 29ee017af6 use new way of constructing var objects 2023-01-05 22:42:17 +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 c3675d7080 🎨 change clean command in makefile 2022-12-25 17:59:14 +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 57619cc079 optimize lexer 2022-11-28 21:16:39 +08:00
ValKmjolnir ffd5961c0f change enum tok to enum class tok 2022-11-27 23:47:58 +08:00
ValKmjolnir ec517589e2 🎨 add header pic 2022-11-26 23:36:12 +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 a366b1fc75 🐛 safer builtin_logtime 2022-10-30 01:30:05 +08:00
ValKmjolnir d3fd8ce336 🎨 improve code format
delete option -v, --version, -l, --lex
2022-10-30 01:26:26 +08:00
Li Haokun fee1a16181 Merge pull request #17 from sidi762/master
[Review needed] Added linux nightly build
2022-10-28 23:39:37 +08:00
ValKmjolnir b5828137f2 🎨 improve format of code next 2022-10-28 23:28:15 +08:00
Sidi Liang 4289e55fb5 Update c-cpp.yml 2022-10-24 01:32:05 +08:00
Sidi Liang a0bb556bf4 Merge branch 'ValKmjolnir:master' into master 2022-10-24 01:29:46 +08:00
ValKmjolnir 8583be337e 🚀 change module function parameter format to avoid warnings 2022-10-24 01:12:25 +08:00
ValKmjolnir ce6a9865d7 🔥 change nasal_gc to gc 2022-10-23 01:29:20 +08:00
ValKmjolnir 1a0f81214f 🔥 change class name.
nasal_lexer -> lexer
nasal_parse -> parse
nasal_codegen -> codegen
nasal_vm -> vm
nasal_gc -> gc
nasal_dbg -> debugger
nasal_import -> linker
nas_ref -> var
2022-10-21 01:29:29 +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
Sidi Liang dc5a8585ae Unable to place two builds under one releases, thus dividing them 2022-10-07 01:30:17 +08:00