Commit Graph

1472 Commits

Author SHA1 Message Date
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 c782254ba5 add native function ceil 2023-10-26 00:04:20 +08:00
ValKmjolnir 1293e783ba change json.JSON to json 2023-10-25 00:32:42 +08:00
ValKmjolnir b5eeee8749 🐛 fix error report bug in import.cpp 2023-10-24 00:16:48 +08:00
ValKmjolnir 1402523962 🐛 fix abnormal debugger output on windows 2023-10-23 00:02:36 +08:00
ValKmjolnir f319161858 🐛 fix compilation error using CMake 2023-10-22 23:52:39 +08:00
ValKmjolnir 33a7143d38 improve readability of some codes 2023-10-22 23:45:10 +08:00
ValKmjolnir 66e1484891 values can get data from namespace type 2023-10-21 18:13:52 +08:00
ValKmjolnir f37d1792ba 🐛 fix invalid debug mode problem 2023-10-21 18:00:11 +08:00
ValKmjolnir a3d151151c change way of calling native functions 2023-10-21 00:31:39 +08:00
ValKmjolnir 0704d94e7d improve code & add new test file 2023-10-20 00:24:17 +08:00
ValKmjolnir 88dc0caaec improve error info of out-of-range 2023-10-18 00:29:53 +08:00
ValKmjolnir fc42081f58 add detail error info in callh 2023-10-17 00:44:45 +08:00
ValKmjolnir 5fd8ec12e9 add function call trace info 2023-10-15 23:49:11 +08:00
ValKmjolnir 11ed038c09 split type definition from gc.h 2023-10-15 21:46:53 +08:00
ValKmjolnir b1e8ba3c6e 🐛 fix mingw make error 2023-10-14 21:30:33 +08:00
ValKmjolnir 3362c130d9 improve error info when lack arguments
in function call
2023-10-14 00:39:25 +08:00
ValKmjolnir c81f85f211 can convert minimum double from string 2023-10-11 00:20:02 +08:00
ValKmjolnir 8c4e0caa4b 📝 update release notes and tutorials 2023-10-07 22:51:30 +08:00
ValKmjolnir c83669205e Merge branch 'master' into develop 2023-10-07 17:35:22 +08:00
Li Haokun b26da9e1f1 Merge pull request #30 from sidi762/master
Updated makefile to ensure the macOS binaries build by GitHub action are backward compatible to macOS 10.15
2023-10-07 17:13:11 +08:00
Sidi Liang a13b23eea1 Update makefile 2023-10-07 14:41:46 +08:00
Sidi Liang cf63d18247 Specify mmacosx-version-min in makefile
So apparently the static linking isn't working
2023-10-07 14:34:12 +08:00
Sidi Liang ac0c76ad51 Update makefile 2023-10-07 14:25:37 +08:00
Sidi Liang 840799c9f4 Update makefile
Updated makefile to have the C++ standard libraries statically linked, so that older macOSs can still execute the program
2023-10-07 13:45:44 +08:00
ValKmjolnir 509bb6413f 📝 add notes 2023-10-07 00:55:20 +08:00
ValKmjolnir 8dedbc05fa 📝 update README 2023-10-04 11:52:09 +08:00
Li Haokun ebfe2bef03 Merge pull request #29 from ValKmjolnir/develop
 improve codegen and repl output
2023-10-02 00:52:05 +08:00
ValKmjolnir 42cc5fa39f change intg to repl output operand 2023-10-02 00:46:12 +08:00
ValKmjolnir bcd2555bbd 📝 improve note and code in codegen 2023-09-27 00:26:13 +08:00
ValKmjolnir d60065607f optimize codegen 2023-09-24 00:41:29 +08:00
ValKmjolnir 8a73932dd5 🔥 change codegen::gen to codegen::emit 2023-09-23 01:08:45 +08:00
ValKmjolnir 623191756f 🐛 fix memory leak in ast destructor 2023-09-20 21:11:13 +08:00
ValKmjolnir ff785872a4 use incremental gc const initialization 2023-09-20 00:46:23 +08:00
ValKmjolnir 0a94e8d2dd add command history in repl 2023-09-19 00:24:45 +08:00
Li Haokun bf10eeda26 Merge pull request #28 from ValKmjolnir/develop
 finish simple repl interpreter (experimental)
2023-09-18 00:50:54 +08:00
ValKmjolnir e811965629 🔥 delete tools/repl.nas 2023-09-17 22:49:06 +08:00
ValKmjolnir cf3deaeb05 finish basic function of repl 2023-09-17 17:56:59 +08:00
ValKmjolnir a0015b5c51 using c++ cast 2023-09-15 00:04:19 +08:00
ValKmjolnir 12d73a6030 using c++ cast (wip) 2023-09-14 00:34:31 +08:00
ValKmjolnir bf770470eb 🎨 add namespace 2023-09-08 18:17:07 +08:00
Li Haokun 932b040e3b Merge pull request #27 from ValKmjolnir/develop
🎨 bug fix & add experimental REPL & optimize framework of vm
2023-09-08 00:39:14 +08:00
ValKmjolnir 0c8804e6e4 🎨 add namespace 2023-09-08 00:33:57 +08:00
ValKmjolnir 8ca408ebec fix out of bound bug & delete fatal in lexer 2023-09-07 23:14:17 +08:00
ValKmjolnir a8c9ddbefe 🐛 fix out of bound bug 2023-09-06 19:29:59 +08:00
ValKmjolnir 30a14694dc repl does not write temp file now 2023-09-06 00:12:01 +08:00
ValKmjolnir 8c01bcf1ed update test/datalog.nas 2023-08-31 00:32:01 +08:00
ValKmjolnir 32ae68056e add experimental REPL (cpp) 2023-08-27 17:46:10 +08:00
ValKmjolnir 4006cacd04 maybe do not need o_intg anymore 2023-08-27 00:25:49 +08:00