Commit Graph

253 Commits

Author SHA1 Message Date
ValKmjolnir 63b0112b9d 📝 update README 2023-10-04 11:52:09 +08:00
ValKmjolnir a0e6047296 update test/datalog.nas 2023-08-31 00:32:01 +08:00
ValKmjolnir 00449c2bfb optimize code 2023-08-21 21:35:34 +08:00
ValKmjolnir d690c779b8 split io lib 2023-08-09 00:31:23 +08:00
ValKmjolnir 56a26b6ab6 update std/math 2023-08-03 22:55:59 +08:00
ValKmjolnir 5cc9824a62 add new functions in bits & math lib 2023-08-02 19:22:45 +08:00
ValKmjolnir fd7472b737 📝 add bits.nas & dylib.nas & unix.nas 2023-07-25 00:22:11 +08:00
ValKmjolnir 788e0026c2 optimize location info gen in codegen
and refactor lib.nas, add multiple native modules
2023-07-23 23:57:25 +08:00
ValKmjolnir 51a0ef6b0c 📝 add logprint & change libs 2023-07-23 18:30:32 +08:00
ValKmjolnir 31113ff69f 📝 delete std/sort.nas & update test file 2023-07-23 00:30:14 +08:00
ValKmjolnir fe65085a7a add check for self-imported module 2023-07-21 23:40:59 +08:00
ValKmjolnir d479f13a5c support nasal module 2023-07-20 00:54:57 +08:00
ValKmjolnir fe3847d69c add experimental namespace table 2023-07-16 21:31:51 +08:00
ValKmjolnir eee30b7d8e add concurrent mark for experiment 2023-07-16 00:37:11 +08:00
ValKmjolnir 4a7a2ce11e 🐛 fix bug in special argument "arg"
if defining a parameter named "arg", this will cause
error value of the last local variable of this function
2023-07-11 19:09:33 +08:00
ValKmjolnir 32e23741eb add concat for vector 2023-07-09 16:45:10 +08:00
ValKmjolnir 7e72661332 🐛 complete function of arg in all scopes 2023-07-09 16:21:09 +08:00
ValKmjolnir 3509655424 add special variable "arg" 2023-07-09 00:59:17 +08:00
ValKmjolnir fd614a132c 📝 add new test file feigenbaum.nas 2023-07-07 19:55:29 +08:00
ValKmjolnir b4482792c8 🧑‍💻 add important symbol "globals" 2023-07-06 22:10:07 +08:00
ValKmjolnir eca6141408 optimize codegen 2023-07-05 00:24:34 +08:00
ValKmjolnir ac2744e24f change build scripts 2023-07-02 19:48:36 +08:00
ValKmjolnir ba6b7cd05c change dir stl -> std 2023-07-02 16:17:56 +08:00
ValKmjolnir 90ad1a53d7 update 2023-07-01 00:55:00 +08:00
ValKmjolnir 9bf4eacc62 prepare to use new ast 2023-06-05 00:11:37 +08:00
ValKmjolnir 774ad60c42 add global_ghost_type_table for test 2023-05-10 00:48:04 +08:00
ValKmjolnir f914678311 add readline & os.arch
delete test file mandel.nas

change io.fin => io.readfile
2023-04-28 23:11:17 +08:00
ValKmjolnir 94f7c941f6 🐛 fix compilation error in VS 2023-04-12 19:44:13 +08:00
ValKmjolnir 5519dc7a29 merge runtime regs into struct context 2023-04-08 00:18:58 +08:00
ValKmjolnir 4e17de909a update test/jsonrpc.nas 2023-03-25 21:26:49 +08:00
ValKmjolnir 73450092f2 add test/jsonrpc.nas and fix bug
bug: in nasocket.cpp, recv and recvfrom do not place 0 after reciving
data into the buffer.
2023-03-23 00:09:51 +08:00
ValKmjolnir f8bac92548 📝 update test file datalog.nas 2023-03-14 00:16:54 +08:00
ValKmjolnir 7cdc5e40af visual update 2023-03-11 18:15:27 +08:00
ValKmjolnir bd12fe917a add new operand calculate const and pop 2023-03-10 22:27:06 +08:00
ValKmjolnir 8161f3c514 optimize codegen 2023-03-09 23:00:25 +08:00
ValKmjolnir abe2464a67 📝 shorten the running time of test process 2023-03-02 00:36:48 +08:00
ValKmjolnir f9cbd0b426 add error report info in stl/mat 2023-03-02 00:26:52 +08:00
ValKmjolnir 99434df819 🚀 add more matrix operation in stl/mat.nas
and bp example test
2023-03-01 23:37:13 +08:00
ValKmjolnir e11793d340 🚀 add operator `^=` `&=` `|=`
fix bug of parsing expressions beginning with floater
2023-02-28 00:30:27 +08:00
ValKmjolnir c8eb1f1d16 🚀 add bitwise operators or, xor, and 2023-02-16 00:24:32 +08:00
ValKmjolnir 068184f451 🐛 fix codegen for binary not on some ast nodes 2023-02-12 15:33:38 +08:00
ValKmjolnir 368b057a91 🚀 add binary negation 2023-02-12 15:22:05 +08:00
ValKmjolnir 79c1e27027 🐛 fix bug in test/calc.nas 2023-02-03 19:01:00 +08:00
ValKmjolnir 84f9280cb4 🚀 add test file auto-push.nas 2023-02-02 21:28:11 +08:00
ValKmjolnir e454b315fc 🚀 add file::find_all_files_with_extension 2023-02-02 21:24:21 +08:00
ValKmjolnir acb2e3664c 🐛 fix bugs in stl/json, now it runs correctly 2023-01-31 19:39:22 +08:00
ValKmjolnir 22b1841664 update test/ascii-art.nas 2023-01-30 19:13:08 +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 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 48611c50f7 🚀 coroutine.resume can pass arguments 2023-01-02 18:53:58 +08:00