Commit Graph

1489 Commits

Author SHA1 Message Date
ValKmjolnir aef7936292 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 d03273b4e1 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 8df02d25ad add detail location info in tokens
prepare for multi-line error reporter module
2023-01-10 22:22:27 +08:00
ValKmjolnir 268a03864e use new way of constructing var objects 2023-01-05 22:42:17 +08:00
ValKmjolnir 48611c50f7 🚀 coroutine.resume can pass arguments 2023-01-02 18:53:58 +08:00
ValKmjolnir e6e89039b8 optimize code & add comments 2023-01-02 01:00:16 +08:00
ValKmjolnir 9d7f799ad3 update test file 'life.nas' 2022-12-27 18:25:58 +08:00
ValKmjolnir dc6f3347b7 🎨 change clean command in makefile 2022-12-25 17:59:14 +08:00
ValKmjolnir d5996d6a1d 🎨 change clean command in makefiles 2022-12-25 17:58:05 +08:00
ValKmjolnir 0d1069a724 optimize test file 2022-12-10 01:24:46 +08:00
ValKmjolnir 175706126b 🐛 fix dynamic arguments load bug in nasal_vm 2022-12-09 00:56:53 +08:00
ValKmjolnir cb547499ac optimize gc 2022-12-07 01:17:40 +08:00
ValKmjolnir de524938cf add runtime.gc.extend 2022-12-04 20:28:51 +08:00
ValKmjolnir 9c6996b54e update test files 2022-12-03 01:24:56 +08:00
ValKmjolnir eca978e2b3 little optimization 2022-11-30 01:11:26 +08:00
ValKmjolnir 9455a83df0 optimize lexer 2022-11-28 21:16:39 +08:00
ValKmjolnir be318abb2e change enum tok to enum class tok 2022-11-27 23:47:58 +08:00
ValKmjolnir 7e91c273f3 🎨 add header pic 2022-11-26 23:36:12 +08:00
ValKmjolnir 4c5ffb0240 🎨 change code format 2022-11-26 22:49:22 +08:00
ValKmjolnir 54969681fc move lvalue check from parse to codegen 2022-11-20 17:06:13 +08:00
ValKmjolnir 9196d7815f 🎨 improve error report 2022-11-19 22:47:19 +08:00
ValKmjolnir 309a57070c 🚀 change module loading 2022-11-15 21:23:34 +08:00
ValKmjolnir 7e4faed4a6 🚀 add new native function `char` 2022-11-12 17:03:56 +08:00
ValKmjolnir f9179188a5 optimize test/console3D.nas 2022-11-11 00:37:14 +08:00
ValKmjolnir 97b3cefe75 add new ways of calling dylib function 2022-11-11 00:11:01 +08:00
ValKmjolnir ca527ec931 🚀 add new module matrix.cpp (in dev) 2022-11-06 23:30:18 +08:00
ValKmjolnir 4fd69c6ce4 🚀 optimize code 2022-11-06 18:20:10 +08:00
ValKmjolnir 1ced201cb5 🚀 add gc time info 2022-11-04 21:36:54 +08:00
ValKmjolnir cedb5e12f5 🚀 add test file `console3D.nas` 2022-11-04 01:18:38 +08:00
ValKmjolnir aaccfbda11 🐛 fix ast print bug & delete some macros 2022-10-30 18:40:03 +08:00
ValKmjolnir 0c216e5f16 🐛 safer builtin_logtime 2022-10-30 01:30:05 +08:00
ValKmjolnir feea901e4d 🎨 improve code format
delete option -v, --version, -l, --lex
2022-10-30 01:26:26 +08:00
Li Haokun b0f080070a
Merge pull request #17 from sidi762/master
[Review needed] Added linux nightly build
2022-10-28 23:39:37 +08:00
ValKmjolnir d121dcd630 🎨 improve format of code 2022-10-28 23:28:15 +08:00
Sidi Liang 8aec98a2b3
Update c-cpp.yml 2022-10-24 01:32:05 +08:00
Sidi Liang 2c36f722bb
Merge branch 'ValKmjolnir:master' into master 2022-10-24 01:29:46 +08:00
ValKmjolnir c705b75513 🚀 change module function parameter format to avoid warnings 2022-10-24 01:12:25 +08:00
ValKmjolnir 3ef8effe9a 🔥 change `nasal_gc` to `gc` 2022-10-23 01:29:20 +08:00
ValKmjolnir 3fd1b25f79 🔥 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 025ff49ffc 🚀 add `stl/csv.nas` & ast name change 2022-10-19 00:54:21 +08:00
ValKmjolnir 7a93527948 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 74b925715f
Unable to place two builds under one releases, thus dividing them 2022-10-07 01:30:17 +08:00
Sidi Liang b0c5dfada7
I'm stupid 2022-10-07 01:23:15 +08:00
Sidi Liang 8ae5cc0071
fix tar failing on linux (again) 2022-10-07 01:21:40 +08:00
Sidi Liang 8b1eebb310
Fix tar failing on linux 2022-10-07 01:20:14 +08:00
Sidi Liang 568d821186
fix file name 2022-10-07 01:14:06 +08:00
Sidi Liang 5b70449aee
Added linux nightly build 2022-10-07 01:13:24 +08:00
ValKmjolnir 405175061a 🚀 crashed coroutine will not make main thread crash. 2022-10-06 23:11:27 +08:00
Li Haokun ae85791f01
Merge pull request #16 from sidi762/master
Build modules for macOS nightly builds and deliver everything (instead of just the binary) in the release
2022-10-06 17:23:14 +08:00
Sidi Liang 3cb5d0f2d9
Merge pull request #1 from sidi762/patch-1
Build modules for Mac nightly
2022-10-06 17:19:02 +08:00