Commit Graph

70 Commits

Author SHA1 Message Date
ValKmjolnir
8c4e0caa4b 📝 update release notes and tutorials 2023-10-07 22:51:30 +08:00
ValKmjolnir
8dedbc05fa 📝 update README 2023-10-04 11:52:09 +08:00
ValKmjolnir
dc56162c55 optimize location info gen in codegen
and refactor lib.nas, add multiple native modules
2023-07-23 23:57:25 +08:00
ValKmjolnir
a82a396bb9 🐛 complete function of arg in all scopes 2023-07-09 16:21:09 +08:00
ValKmjolnir
2e80f0a191 add special variable "arg" 2023-07-09 00:59:17 +08:00
ValKmjolnir
79865740ad 📝 add new test file feigenbaum.nas 2023-07-07 19:55:29 +08:00
ValKmjolnir
4e076673b0 update 2023-07-04 00:33:57 +08:00
ValKmjolnir
7bbf5fb145 📝 change license to GPLv2 2023-07-02 21:37:14 +08:00
ValKmjolnir
2b60b9093e 📝 update docks 2023-07-02 20:39:28 +08:00
ValKmjolnir
8feb19bb61 🚀 switch build script to new nasal 2023-07-02 00:32:13 +08:00
ValKmjolnir
80dfa6dc7f gc::extend uses std::nothrow 2023-05-18 18:45:56 +08:00
ValKmjolnir
05bf4ad67b 📝 update doc for vs build 2023-05-11 20:12:59 +08:00
ValKmjolnir
d73cb914a9 🐛 fix compilation error
in windows mingw-w64 win32 thread model,
but we do not suggest you to use this,
please use posix thread model
2023-04-23 00:02:39 +08:00
ValKmjolnir
053dbf24b4 add multi-line error report and span 2023-03-08 01:12:01 +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
8c02aa0fff 🚀 add binary negation 2023-02-12 15:22:05 +08:00
ValKmjolnir
7e43a5a709 📝 update readme 2023-01-31 19:01:36 +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
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
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
7c075a6071 move lvalue check from parse to codegen 2022-11-20 17:06:13 +08:00
ValKmjolnir
2772fa748d 🚀 change module loading 2022-11-15 21:23:34 +08:00
ValKmjolnir
a0fe9ac669 add new ways of calling dylib function 2022-11-11 00:11:01 +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
dbfa570511 📝 update doc 2022-10-06 00:23:32 +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
ba12bfb6b0 🚀 use std::ostream to unify nas_ref output 2022-09-23 21:45:08 +08:00
ValKmjolnir
17b30d590b 🐛 fix compilation error of FindNextFile in other VS version. 2022-09-23 20:39:34 +08:00
ValKmjolnir
f9b8957385 🚀 move pic directory into doc 2022-09-19 00:10:08 +08:00
ValKmjolnir
a4ce8991f3 📝 update doc 2022-09-17 18:23:27 +08:00
ValKmjolnir
73c3279dae 📝 add interesting gifs into docs 2022-09-13 23:00:48 +08:00
ValKmjolnir
76d1f029cd 📝 update docs 2022-09-13 22:14:17 +08:00
ValKmjolnir
4dfc4012df 🐛 fix bug that make test failed 2022-08-29 00:48:06 +08:00
ValKmjolnir
5d67648d06 update doc & notes, optimize code 2022-08-18 20:41:33 +08:00
ValKmjolnir
83c8d327bb 🐛 fix builtin_err in module to nas_err 2022-08-04 21:20:27 +08:00
ValKmjolnir
172c1d60f9 🐛 fix bug that dylib.dlopen cannot load dynamic lib in local dir. 2022-07-29 23:30:15 +08:00
ValKmjolnir
ca6cb5daae 🐛 fix bug of incorrectly searching paths of lib.nas and dynamic libs.
`dylib.dlopen` now only needs file name of dynamic lib, not the real path.
2022-07-29 22:49:50 +08:00
ValKmjolnir
fc1d45d4e8 📝 add doc to help you create visual studio project. 2022-07-27 19:31:14 +08:00
ValKmjolnir
8ca74aa39d 📝 update README 2022-07-25 20:09:41 +08:00
ValKmjolnir
a8d87f66c0 📝 fix error in README_zh.md 2022-07-24 17:16:44 +08:00
ValKmjolnir
7924511ca2 📝 fix error in README.md 2022-07-24 17:15:44 +08:00
ValKmjolnir
23a6dfa969 📝 change README.md & README_zh.md 2022-07-24 17:05:36 +08:00
ValKmjolnir
5ac4d3eae5 📝 update README.md & README_zh.md 2022-07-24 13:01:42 +08:00