Commit Graph

150 Commits

Author SHA1 Message Date
a9ff511496 Generator can produce link names 2023-12-20 03:05:27 -05:00
88bc83f277 Added module referencing to parser 2023-12-19 15:21:10 -05:00
0645e2b43a Add access specifiers and link names to parser 2023-12-17 11:23:42 -05:00
6bcbd6aff9 Made the type checker a tad more robust 2023-12-15 13:23:37 -05:00
b220235a43 I forgor 2023-12-15 12:46:33 -05:00
e55d87d378 Fix comparison predicates 2023-12-15 12:40:43 -05:00
c4df65d189 Attempt to further fix interface assignment 2023-12-14 21:21:07 -05:00
f72bf533e0 Method calling now properly passes pointer instead of value 2023-12-14 01:23:34 -05:00
6fa8adf871 generateAssignmentSource assigns interface methods to iface dest 2023-12-14 00:47:14 -05:00
91eb3e8e9e Add some extra notes to readme 2023-12-13 03:44:57 -05:00
9ea5deb23a Oops pt 2 2023-12-13 03:40:40 -05:00
b0b71d7723 Oops 2023-12-13 03:38:44 -05:00
0ff4fd9ba4 Compiler can fall back to clang when llc is not present 2023-12-13 03:28:24 -05:00
0a4f63680c Add logo 2023-12-13 03:20:15 -05:00
414f4595dc Changed my mind about brackets on break and return statements 2023-12-12 19:51:17 -05:00
93f6894ef0 Updated language spec 2023-12-08 17:31:16 -05:00
3d95f41613 Add README.md 2023-12-08 00:28:58 -05:00
900e90d468 Add test for aforementioned issue 2023-12-07 17:14:37 -05:00
d16079cbe8 Fix IsUnsigned 2023-12-07 17:05:26 -05:00
b2f8b85969 If statements get a type 2023-12-07 04:16:58 -05:00
4a981f3253 Augh 2023-12-07 04:03:28 -05:00
6045ed6ee3 If/else branching is no longer... like how it was 2023-12-07 03:58:57 -05:00
c780668cd0 If/else generation will not attempt to overwrite branches 2023-12-07 03:54:01 -05:00
fb360c3398 Operands to IR binary instructions now have identifiers instead of names 2023-12-07 03:04:29 -05:00
30c346c6b7 Generator alloca's variables when they are defined 2023-12-07 02:48:27 -05:00
8b7dcdf70c Fix case where generator would assign ID to void function calls 2023-12-05 22:36:41 -05:00
7d436290c4 Add some more test cases to the generator 2023-12-05 22:29:29 -05:00
e06fd099ce Fix bug with popping block managers off of the stack 2023-12-05 22:27:55 -05:00
2fa3cc1762 Add "internal error" prefix for generator errors 2023-12-05 22:08:06 -05:00
6e861c4e52 Fix comments 2023-12-05 22:04:12 -05:00
0e3101b4d0 Add comments 2023-12-05 16:52:33 -05:00
ead5ed3222 Slice operations now load the data pointer 2023-12-05 15:35:17 -05:00
8085da442b Revert slices back to having just two fields 2023-12-05 03:07:54 -05:00
7f866d102d Fixed several cases where the generator would output invalid IR 2023-12-03 22:23:04 -05:00
e24b9b8f17 Generator passes method owner as pointer 2023-12-03 15:38:07 -05:00
52ac569c06 Fix stale code 2023-12-02 23:42:54 -05:00
7dbde0a1d7 Generator generates methods properly 2023-12-02 23:41:35 -05:00
a18d9ea0de Oops 2023-12-02 23:36:12 -05:00
0045b35790 Generator now pierces pointers when accessing members as well 2023-12-02 23:35:22 -05:00
eece7479a0 Member access can now pierce through pointers in the analyzer 2023-12-02 23:23:44 -05:00
342e9a3a89 Analyzer adds a "this" pointer to methods 2023-12-02 23:06:58 -05:00
ffe873a3e4 String literals can be assigned to strings now 2023-12-02 22:45:22 -05:00
3f88513dc1 That should be literally every feature 2023-12-02 21:45:15 -05:00
ea502dc2bb Created function for making slices 2023-12-02 04:21:10 -05:00
7b139199c0 Ditch brackets around break and return statements 2023-12-01 01:53:33 -05:00
31d5317dc8 Completed operations 2023-12-01 01:18:10 -05:00
635add38e6 Made native target actually work 2023-11-30 17:16:55 -05:00
6b2ed12c90 Operation stub part II 2023-11-30 15:44:30 -05:00
4fa7848452 Add operation stub 2023-11-30 02:13:47 -05:00
3fd00d56eb Added casting 2023-11-30 02:06:12 -05:00