Commit Graph

150 Commits

Author SHA1 Message Date
ValKmjolnir 8ca74aa39d 📝 update README 2022-07-25 20:09:41 +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
ValKmjolnir 60e1eac07d 📝 update docs 2022-07-24 00:10:26 +08:00
ValKmjolnir 07e495842d 📝 split README.md to doc/benchmark.md doc/dev.md doc/dev_zh.md 2022-07-23 23:04:31 +08:00
ValKmjolnir 49a7ed28e9 🚀 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 65fe7daff6 📝 change name of used types 2022-07-23 12:35:21 +08:00
ValKmjolnir bec589b85f 📝 shrink size of README.md 2022-07-20 22:22:50 +08:00
ValKmjolnir 1a376c7ebd 📝 change README.md 2022-07-20 00:06:00 +08:00
ValKmjolnir 2fa59a7e95 optimize codes 2022-07-19 23:55:12 +08:00
ValKmjolnir 38b533a3f2 📝 update docs. 2022-07-16 17:58:01 +08:00
ValKmjolnir 7c1d45a200 🚀 update makefile to choose different compilers by users & fix some codes for MSVC to compile. 2022-07-16 16:53:11 +08:00
ValKmjolnir bdd0cb2912 📝 change some identifiers' name. 2022-07-09 16:24:58 +08:00
ValKmjolnir ec308f8053 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 3d1e3f49dc 📝 change identifiers' name and test/coroutine.nas, test/filesystem.nas 2022-07-06 16:04:21 +08:00
ValKmjolnir 7e25bc15e0 optimize vm 2022-07-04 00:16:04 +08:00
ValKmjolnir deb3712499 📝 update README.md and README_zh.md 2022-06-18 16:35:21 +08:00
ValKmjolnir 660a17ae7e 📝 add README_zh.md(haven't finished translation). 2022-06-18 00:30:43 +08:00
ValKmjolnir 7d75904fab 📝 update docs 2022-06-17 22:18:34 +08:00
ValKmjolnir 60952e1d2f 🚀 add os.time() to get the local time string 2022-06-12 19:08:31 +08:00
ValKmjolnir 503b834f05 📝 update test/httptest.nas 2022-06-11 12:49:26 +08:00
ValKmjolnir e2086e352f 📝 update README.md 2022-05-25 14:05:58 +08:00
ValKmjolnir 8b63c44266 optimize codes 2022-05-22 18:19:13 +08:00
ValKmjolnir c47bc7b881 optimize codes: store upvalue on stack & debugger now can output information of registers 2022-05-20 21:19:43 +08:00
ValKmjolnir 8915a9b96a 🚀 add coroutine library(beta) and lib function settimer&maketimestamp 2022-05-19 20:09:23 +08:00
ValKmjolnir 3e418dbcff 🐛 bug fix 2022-05-06 20:58:02 +08:00
ValKmjolnir b6ac16618e update README.md 2022-04-27 12:49:29 +08:00
ValKmjolnir 68c1b43179 change STACK_MAX_DEPTH to nasal_gc::stack_depth 2022-04-09 23:14:28 +08:00
ValKmjolnir 5f4b2d80dc optimize libmd5.nas & test/md5.nas 2022-04-03 18:10:00 +08:00
ValKmjolnir b304fb5b7c update README.md 2022-03-27 01:36:38 +08:00
ValKmjolnir b61e7dfcb3 update docs & fix bug in nasal_builtin.h 2022-03-16 15:30:34 +08:00
ValKmjolnir 9740ae90a5 update docs 2022-03-14 20:29:49 +08:00
ValKmjolnir 88ed64caf2 change nasal_ref value option functions' output types from pointers to references 2022-03-09 22:54:54 +08:00
ValKmjolnir 5ac882c01e update num->string algorithm, now the to_string will output strings with no tailing zeros 2022-03-08 13:40:27 +08:00
ValKmjolnir b786dd0209 safer stl/module.nas & add stl/file.nas encapsulated from lib.nas/io 2022-03-06 15:17:39 +08:00
ValKmjolnir 7d602cf6ca update 2022-03-01 14:36:05 +08:00
ValKmjolnir 2d4255a162 finish tetris.nas 2022-02-21 17:10:13 +08:00
ValKmjolnir 50b2cdd513 update README.md 2022-02-18 15:59:27 +08:00
ValKmjolnir 4814498f73 change tutorial's place in README.md 2022-02-15 23:42:17 +08:00
ValKmjolnir 7958fd8919 update README.md 2022-02-14 17:29:26 +08:00
ValKmjolnir 7ced74a0a5 add new gc type vm_upval 2022-02-13 22:40:54 +08:00
ValKmjolnir f16259b2da update README & bug fixed 2022-02-13 16:10:02 +08:00
ValKmjolnir 0d5b0fa57d now local values are stored on stack. upvalue is generated when creating a new function in local scope.
may include some bugs inside. but all test files has passed the test so i decide to push it.
2022-02-12 23:12:30 +08:00
ValKmjolnir 666feae851 change increment arguments to a more efficiency level & change gc.nil, gc.one, gc.zero to constant nil, one, zero 2022-02-04 01:51:30 +08:00
ValKmjolnir dfee0d713d change native function num()
num now returns nil if the argument is not a number or numerable string.
2022-01-27 21:41:06 +08:00
ValKmjolnir 0b5b9ced12 update README.md 2022-01-25 15:02:57 +08:00
ValKmjolnir 6812a389dc update new test data 2022-01-24 15:19:27 +08:00
ValKmjolnir 8700fb31cc fix errors in README.md 2022-01-22 22:19:14 +08:00
ValKmjolnir ee6bc07b78 fix error in README.md 2022-01-22 22:09:00 +08:00