Commit Graph

266 Commits

Author SHA1 Message Date
ValKmjolnir
270e6e568f 📝 update scripts 2023-11-16 23:19:03 +08:00
ValKmjolnir
b41f7f119f 🐛 fix bug in recvfrom 2023-11-06 00:22:11 +08:00
ValKmjolnir
1d95d5ab3d use reinterpret_cast and static_cast 2023-11-05 21:25:20 +08:00
ValKmjolnir
bbf13e6c03 📝 update documents 2023-11-04 00:09:59 +08:00
ValKmjolnir
a341781ecb 📝 update documents 2023-11-02 23:01:47 +08:00
ValKmjolnir
5b68701a95 add import logic for use statement 2023-11-01 00:37:02 +08:00
ValKmjolnir
f5ed699f06 add new test file burningship.nas 2023-10-29 00:01:14 +08:00
ValKmjolnir
45dccb974f 🐛 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
1293e783ba change json.JSON to json 2023-10-25 00:32:42 +08:00
ValKmjolnir
33a7143d38 improve readability of some codes 2023-10-22 23:45:10 +08:00
ValKmjolnir
f37d1792ba 🐛 fix invalid debug mode problem 2023-10-21 18:00:11 +08:00
ValKmjolnir
0704d94e7d improve code & add new test file 2023-10-20 00:24:17 +08:00
ValKmjolnir
c81f85f211 can convert minimum double from string 2023-10-11 00:20:02 +08:00
ValKmjolnir
8dedbc05fa 📝 update README 2023-10-04 11:52:09 +08:00
ValKmjolnir
8c01bcf1ed update test/datalog.nas 2023-08-31 00:32:01 +08:00
ValKmjolnir
140fb8a650 optimize code 2023-08-21 21:35:34 +08:00
ValKmjolnir
44397bb05e split io lib 2023-08-09 00:31:23 +08:00
ValKmjolnir
981f17ca8e update std/math 2023-08-03 22:55:59 +08:00
ValKmjolnir
352f6c5caa add new functions in bits & math lib 2023-08-02 19:22:45 +08:00
ValKmjolnir
181a3c4f2f 📝 add bits.nas & dylib.nas & unix.nas 2023-07-25 00:22:11 +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
26bec82b52 📝 add logprint & change libs 2023-07-23 18:30:32 +08:00
ValKmjolnir
a72a42fa41 📝 delete std/sort.nas & update test file 2023-07-23 00:30:14 +08:00
ValKmjolnir
8454bed0fe add check for self-imported module 2023-07-21 23:40:59 +08:00
ValKmjolnir
1bcd297d23 support nasal module 2023-07-20 00:54:57 +08:00
ValKmjolnir
5aec226e35 add experimental namespace table 2023-07-16 21:31:51 +08:00
ValKmjolnir
f919f6cf86 add concurrent mark for experiment 2023-07-16 00:37:11 +08:00
ValKmjolnir
b56373fc0a 🐛 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
6166a8e0a5 add concat for vector 2023-07-09 16:45:10 +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
ef879ab380 🧑‍💻 add important symbol "globals" 2023-07-06 22:10:07 +08:00
ValKmjolnir
7102703c1b optimize codegen 2023-07-05 00:24:34 +08:00
ValKmjolnir
f8385556df change build scripts 2023-07-02 19:48:36 +08:00
ValKmjolnir
e674d41311 change dir stl -> std 2023-07-02 16:17:56 +08:00
ValKmjolnir
103b523888 update 2023-07-01 00:55:00 +08:00
ValKmjolnir
6fd1eb305c prepare to use new ast 2023-06-05 00:11:37 +08:00
ValKmjolnir
44d779758d add global_ghost_type_table for test 2023-05-10 00:48:04 +08:00
ValKmjolnir
5ae729676f add readline & os.arch
delete test file mandel.nas

change io.fin => io.readfile
2023-04-28 23:11:17 +08:00
ValKmjolnir
76798f1f38 🐛 fix compilation error in VS 2023-04-12 19:44:13 +08:00
ValKmjolnir
8655c5091e merge runtime regs into struct context 2023-04-08 00:18:58 +08:00
ValKmjolnir
4bcde1eb3f update test/jsonrpc.nas 2023-03-25 21:26:49 +08:00
ValKmjolnir
84fec7ae4f 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
d6c75079af 📝 update test file datalog.nas 2023-03-14 00:16:54 +08:00
ValKmjolnir
ab5462f556 visual update 2023-03-11 18:15:27 +08:00
ValKmjolnir
1039d7d7ba add new operand calculate const and pop 2023-03-10 22:27:06 +08:00
ValKmjolnir
c6becf864d optimize codegen 2023-03-09 23:00:25 +08:00
ValKmjolnir
241764545a 📝 shorten the running time of test process 2023-03-02 00:36:48 +08:00
ValKmjolnir
0c81187391 add error report info in stl/mat 2023-03-02 00:26:52 +08:00