Commit Graph

1617 Commits

Author SHA1 Message Date
ValKmjolnir 9629108a1e improve readability of some codes 2023-10-22 23:45:10 +08:00
ValKmjolnir 1e1ab37e83 values can get data from namespace type 2023-10-21 18:13:52 +08:00
ValKmjolnir dfcccd4523 🐛 fix invalid debug mode problem 2023-10-21 18:00:11 +08:00
ValKmjolnir 820c05c986 change way of calling native functions 2023-10-21 00:31:39 +08:00
ValKmjolnir 7f8a0b6445 improve code & add new test file 2023-10-20 00:24:17 +08:00
ValKmjolnir 54317a39a7 improve error info of out-of-range 2023-10-18 00:29:53 +08:00
ValKmjolnir a298aa3a63 add detail error info in callh 2023-10-17 00:44:45 +08:00
ValKmjolnir 1580b31122 add function call trace info 2023-10-15 23:49:11 +08:00
ValKmjolnir aab7decd70 split type definition from gc.h 2023-10-15 21:46:53 +08:00
ValKmjolnir 8290b7df9f 🐛 fix mingw make error 2023-10-14 21:30:33 +08:00
ValKmjolnir ecfb679218 improve error info when lack arguments
in function call
2023-10-14 00:39:25 +08:00
ValKmjolnir 80f9fc5842 can convert minimum double from string 2023-10-11 00:20:02 +08:00
Li Haokun c8c233d1d4
Merge pull request #32 from ValKmjolnir/develop
📝 update release notes and tutorials
2023-10-07 22:53:52 +08:00
ValKmjolnir 0b179bf5ff 📝 update release notes and tutorials 2023-10-07 22:51:30 +08:00
Li Haokun d108e40e22
Merge pull request #31 from ValKmjolnir/develop
📝 update docs and makefile
2023-10-07 21:49:09 +08:00
ValKmjolnir 63b97fc5ea Merge branch 'master' into develop 2023-10-07 17:35:22 +08:00
Li Haokun d661a6b92d
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 5233cef16e
Update makefile 2023-10-07 14:41:46 +08:00
Sidi Liang 3874856f2b
Specify mmacosx-version-min in makefile
So apparently the static linking isn't working
2023-10-07 14:34:12 +08:00
Sidi Liang 56e3e4353b
Update makefile 2023-10-07 14:25:37 +08:00
Sidi Liang e3e501ab6a
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 d14b816fa0 📝 add notes 2023-10-07 00:55:20 +08:00
ValKmjolnir 63b0112b9d 📝 update README 2023-10-04 11:52:09 +08:00
Li Haokun 982c5750ef
Merge pull request #29 from ValKmjolnir/develop
 improve codegen and repl output
2023-10-02 00:52:05 +08:00
ValKmjolnir d69dd0b03f change intg to repl output operand 2023-10-02 00:46:12 +08:00
ValKmjolnir 7a10392bea 📝 improve note and code in codegen 2023-09-27 00:26:13 +08:00
ValKmjolnir 5e2bb411e5 optimize codegen 2023-09-24 00:41:29 +08:00
ValKmjolnir f8ecd2ae53 🔥 change codegen::gen to codegen::emit 2023-09-23 01:08:45 +08:00
ValKmjolnir 0a404694f6 🐛 fix memory leak in ast destructor 2023-09-20 21:11:13 +08:00
ValKmjolnir 6c8b4c6a87 use incremental gc const initialization 2023-09-20 00:46:23 +08:00
ValKmjolnir 85bc699905 add command history in repl 2023-09-19 00:24:45 +08:00
Li Haokun 38920382ea
Merge pull request #28 from ValKmjolnir/develop
 finish simple repl interpreter (experimental)
2023-09-18 00:50:54 +08:00
ValKmjolnir d0d9ce3b80 🔥 delete tools/repl.nas 2023-09-17 22:49:06 +08:00
ValKmjolnir 3e01239722 finish basic function of repl 2023-09-17 17:56:59 +08:00
ValKmjolnir b77d7fafb1 using c++ cast 2023-09-15 00:04:19 +08:00
ValKmjolnir 36a2aa67ef using c++ cast (wip) 2023-09-14 00:34:31 +08:00
ValKmjolnir c157d8a9b1 🎨 add namespace 2023-09-08 18:17:07 +08:00
Li Haokun 0c99eb15f0
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 cd4e0c1716 🎨 add namespace 2023-09-08 00:33:57 +08:00
ValKmjolnir d89f290a8a fix out of bound bug & delete fatal in lexer 2023-09-07 23:14:17 +08:00
ValKmjolnir 298b54c9ec 🐛 fix out of bound bug 2023-09-06 19:29:59 +08:00
ValKmjolnir ec03f0aee0 repl does not write temp file now 2023-09-06 00:12:01 +08:00
ValKmjolnir a0e6047296 update test/datalog.nas 2023-08-31 00:32:01 +08:00
ValKmjolnir a801669888 add experimental REPL (cpp) 2023-08-27 17:46:10 +08:00
ValKmjolnir ae5c76ecd5 maybe do not need o_intg anymore 2023-08-27 00:25:49 +08:00
ValKmjolnir 93528babdb optimize framework of vm 2023-08-24 23:24:04 +08:00
ValKmjolnir ba629e57d7 optimize lexer 2023-08-23 00:59:35 +08:00
ValKmjolnir 00449c2bfb optimize code 2023-08-21 21:35:34 +08:00
ValKmjolnir 939b4c4a65 Merge branch 'master' into develop 2023-08-20 22:37:41 +08:00
ValKmjolnir 6f259dc1ea fix old ambiguous syntax 2023-08-20 22:35:24 +08:00