Commit Graph

265 Commits

Author SHA1 Message Date
ValKmjolnir 2ea9e03522 🐛 fix bug in recvfrom 2023-11-06 00:22:11 +08:00
ValKmjolnir e8c8a6446b use reinterpret_cast and static_cast 2023-11-05 21:25:20 +08:00
ValKmjolnir c946e9debd 📝 update documents 2023-11-04 00:09:59 +08:00
ValKmjolnir 2f58a7c223 📝 update documents 2023-11-02 23:01:47 +08:00
ValKmjolnir ccbe341dc5 add import logic for use statement 2023-11-01 00:37:02 +08:00
ValKmjolnir 4c8e1dfe91 add new test file burningship.nas 2023-10-29 00:01:14 +08:00
ValKmjolnir ef4af8f195 🐛 fix error codegen in foreach/forindex loop
undefined symbol was recognized as defined in symbol_finder, now it is
fixed :)
2023-10-26 22:40:20 +08:00
ValKmjolnir d56e1bff2c change json.JSON to json 2023-10-25 00:32:42 +08:00
ValKmjolnir 9629108a1e improve readability of some codes 2023-10-22 23:45:10 +08:00
ValKmjolnir dfcccd4523 🐛 fix invalid debug mode problem 2023-10-21 18:00:11 +08:00
ValKmjolnir 7f8a0b6445 improve code & add new test file 2023-10-20 00:24:17 +08:00
ValKmjolnir 80f9fc5842 can convert minimum double from string 2023-10-11 00:20:02 +08:00
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