Commit Graph

1453 Commits

Author SHA1 Message Date
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
ValKmjolnir
66fe75cacf optimize framework of vm 2023-08-24 23:24:04 +08:00
ValKmjolnir
4e6a186312 optimize lexer 2023-08-23 00:59:35 +08:00
ValKmjolnir
140fb8a650 optimize code 2023-08-21 21:35:34 +08:00
ValKmjolnir
af46505005 Merge branch 'master' into develop 2023-08-20 22:37:41 +08:00
ValKmjolnir
a59d321a96 fix old ambiguous syntax 2023-08-20 22:35:24 +08:00
ValKmjolnir
e60a1c3e57 🐛 fix segfault in var x = (var a,b) = (1,2) 2023-08-20 16:48:53 +08:00
ValKmjolnir
ad17202d54 📝 add experimental repl (for fun) 2023-08-19 21:36:12 +08:00
ValKmjolnir
e2112192f2 add check for symbol definition 2023-08-13 22:12:07 +08:00
ValKmjolnir
99bfb8a150 📝 optimize code format 2023-08-13 00:31:11 +08:00
Li Haokun
1862d02a8b Merge pull request #26 from ValKmjolnir/develop
 simpler ghost type check mechanism & split lib
2023-08-12 11:54:13 +08:00
ValKmjolnir
3db4f0fd58 split dylib and unix lib 2023-08-11 00:48:57 +08:00
ValKmjolnir
7f493418fd optimize vm 2023-08-10 00:40:00 +08:00
ValKmjolnir
44397bb05e split io lib 2023-08-09 00:31:23 +08:00
ValKmjolnir
8dd2878a23 🔥 delete ghost type table 2023-08-08 20:50:47 +08:00
Li Haokun
5cd6c4d220 Merge pull request #25 from ValKmjolnir/develop
 support `globals` `arg` and module imports
2023-08-07 19:06:30 +08:00
ValKmjolnir
6992d5444b add profiling tools in debug mode 2023-08-06 20:02:12 +08:00
ValKmjolnir
edc6e3711b symbol begins with '_' will not be exported 2023-08-05 00:08:28 +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