Commit Graph

173 Commits

Author SHA1 Message Date
ValKmjolnir c8eb1f1d16 🚀 add bitwise operators or, xor, and 2023-02-16 00:24:32 +08:00
ValKmjolnir fdd7794a83 📝 update readme 2023-01-31 19:01:36 +08:00
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 268a03864e use new way of constructing var objects 2023-01-05 22:42:17 +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 54969681fc move lvalue check from parse to codegen 2022-11-20 17:06:13 +08:00
ValKmjolnir 309a57070c 🚀 change module loading 2022-11-15 21:23:34 +08:00
ValKmjolnir 97b3cefe75 add new ways of calling dylib function 2022-11-11 00:11:01 +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 e25eb76e94 🚀 delete unnecessary codes & add `stl/string.nas` 2022-10-05 16:03:47 +08:00
ValKmjolnir 946aa020a5 🚀 add high resolution progress bar 2022-09-28 23:45:15 +08:00
ValKmjolnir 6ef22d3228 🚀 use `std::ostream` to unify `nas_ref` output 2022-09-23 21:45:08 +08:00
ValKmjolnir 06f02ec0cb 📝 update doc 2022-09-17 18:23:27 +08:00
ValKmjolnir 518ce7fcb9 📝 add interesting gifs into docs 2022-09-13 23:00:48 +08:00
ValKmjolnir 0e682b7c07 📝 update docs 2022-09-13 22:14:17 +08:00
ValKmjolnir 007b83bed5 📝 add test file `ppmgen.nas` 2022-08-17 21:09:22 +08:00
ValKmjolnir feea8f8d66 🐛 fix `builtin_err` in module to `nas_err` 2022-08-04 21:20:27 +08:00
ValKmjolnir c0862704f0 🐛 fix bug that `dylib.dlopen` cannot load dynamic lib in local dir. 2022-07-29 23:30:15 +08:00
ValKmjolnir 854850d9b1 🐛 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 33e584ab5c 📝 add doc to help you create `visual studio` project. 2022-07-27 19:31:14 +08:00
ValKmjolnir ac8652f864 📝 update README 2022-07-25 20:09:41 +08:00
ValKmjolnir 899b327608 📝 fix error in README.md 2022-07-24 17:15:44 +08:00
ValKmjolnir c702f02a8a 📝 change README.md & README_zh.md 2022-07-24 17:05:36 +08:00
ValKmjolnir afbee18e26 📝 update README.md & README_zh.md 2022-07-24 13:01:42 +08:00
ValKmjolnir c6129267aa 📝 update docs 2022-07-24 00:10:26 +08:00
ValKmjolnir 6187395ce8 📝 split README.md to doc/benchmark.md doc/dev.md doc/dev_zh.md 2022-07-23 23:04:31 +08:00
ValKmjolnir 99a131c552 🚀 change `std::string` to `string`, change identifiers' name, `-o` is now a function available in debug mode. 2022-07-23 17:00:25 +08:00
ValKmjolnir 46516485b5 📝 change name of used types 2022-07-23 12:35:21 +08:00
ValKmjolnir f68a512845 📝 shrink size of README.md 2022-07-20 22:22:50 +08:00
ValKmjolnir f7cd3a027b 📝 change README.md 2022-07-20 00:06:00 +08:00
ValKmjolnir cc4ff38f28 optimize codes 2022-07-19 23:55:12 +08:00
ValKmjolnir fc7e0a569e 📝 update docs. 2022-07-16 17:58:01 +08:00
ValKmjolnir 577ecd14df 🚀 update makefile to choose different compilers by users & fix some codes for MSVC to compile. 2022-07-16 16:53:11 +08:00
ValKmjolnir 2ed20f6362 📝 change some identifiers' name. 2022-07-09 16:24:58 +08:00
ValKmjolnir fb25a4973c optimize codes. details:
1. delete gc::builtin_alloc
2. add convenient way of getting new string object: gc::newstr, and shrink the size of codes
3. update doc
4. add gc::temp to be used in native/module functions to avoid being recognized as garbage incorrectly when triggered mark-sweep
2022-07-07 17:51:30 +08:00
ValKmjolnir b638708722 📝 change identifiers' name and test/coroutine.nas, test/filesystem.nas 2022-07-06 16:04:21 +08:00
ValKmjolnir 92d68b357c optimize vm 2022-07-04 00:16:04 +08:00
ValKmjolnir abbdb22478 📝 update README.md and README_zh.md 2022-06-18 16:35:21 +08:00
ValKmjolnir bb84c6d143 📝 add README_zh.md(haven't finished translation). 2022-06-18 00:30:43 +08:00
ValKmjolnir e27f773749 📝 update docs 2022-06-17 22:18:34 +08:00
ValKmjolnir 6b20e0f167 🚀 add os.time() to get the local time string 2022-06-12 19:08:31 +08:00
ValKmjolnir 21b345af27 📝 update test/httptest.nas 2022-06-11 12:49:26 +08:00
ValKmjolnir 882ecac100 📝 update README.md 2022-05-25 14:05:58 +08:00
ValKmjolnir ebfacd9197 optimize codes 2022-05-22 18:19:13 +08:00
ValKmjolnir 07eeaadf96 optimize codes: store upvalue on stack & debugger now can output information of registers 2022-05-20 21:19:43 +08:00
ValKmjolnir 120ceb429a 🚀 add coroutine library(beta) and lib function settimer&maketimestamp 2022-05-19 20:09:23 +08:00
ValKmjolnir 23a5c1b1ad 🐛 bug fix 2022-05-06 20:58:02 +08:00