Commit Graph

207 Commits

Author SHA1 Message Date
Sasha Koshka
4b28d40b89 AbstractType's TypeName member is now private 2024-01-25 07:05:07 +00:00
Sasha Koshka
9390eb6b2e Added test to debug absurd behavior relating to type defs 2023-12-24 22:49:10 -05:00
70c45f6fe1 Interface method calls no longer cause a segfault 2023-12-24 22:18:47 -05:00
7757133d43 Something was off with TestCompare 2023-12-24 21:45:47 -05:00
7d926be83a Fix code I probably wrote while high off my ass 2023-12-24 21:39:56 -05:00
Sasha Koshka
d4f81b0667 Empty struct literal values are initialized to zero 2023-12-23 17:25:27 -05:00
Sasha Koshka
3cca2dd130 Added nil (zero initializer) literals 2023-12-21 23:33:38 -05:00
Sasha Koshka
eeae7ac1ed Generator can produce link names 2023-12-20 03:05:27 -05:00
Sasha Koshka
af73d8e251 Added module referencing to parser 2023-12-19 15:21:10 -05:00
Sasha Koshka
308efbbd5e Add access specifiers and link names to parser 2023-12-17 11:23:42 -05:00
Sasha Koshka
ae60aa173e Made the type checker a tad more robust 2023-12-15 13:23:37 -05:00
Sasha Koshka
6bc59ca0d1 I forgor 2023-12-15 12:46:33 -05:00
Sasha Koshka
7572e8bf08 Fix comparison predicates 2023-12-15 12:40:43 -05:00
da7807d653 Attempt to further fix interface assignment 2023-12-14 21:21:07 -05:00
b7faa727af Method calling now properly passes pointer instead of value 2023-12-14 01:23:34 -05:00
4a28ee61c0 generateAssignmentSource assigns interface methods to iface dest 2023-12-14 00:47:14 -05:00
62a83f5544 Add some extra notes to readme 2023-12-13 03:44:57 -05:00
c9eccdd86f Oops pt 2 2023-12-13 03:40:40 -05:00
e796f055ad Oops 2023-12-13 03:38:44 -05:00
895e874e2f Compiler can fall back to clang when llc is not present 2023-12-13 03:28:24 -05:00
5cd1be88ce Add logo 2023-12-13 03:20:15 -05:00
Sasha Koshka
20db37b704 Changed my mind about brackets on break and return statements 2023-12-12 19:51:17 -05:00
5dc9331668 Updated language spec 2023-12-08 17:31:16 -05:00
35ecdd7a8b Add README.md 2023-12-08 00:28:58 -05:00
Sasha Koshka
ea934445c6 Add test for aforementioned issue 2023-12-07 17:14:37 -05:00
Sasha Koshka
139a66f239 Fix IsUnsigned 2023-12-07 17:05:26 -05:00
Sasha Koshka
8c64c07fff If statements get a type 2023-12-07 04:16:58 -05:00
Sasha Koshka
019a8732cb Augh 2023-12-07 04:03:28 -05:00
Sasha Koshka
8d1d87dbb8 If/else branching is no longer... like how it was 2023-12-07 03:58:57 -05:00
Sasha Koshka
1176da7cb9 If/else generation will not attempt to overwrite branches 2023-12-07 03:54:01 -05:00
988649098c Operands to IR binary instructions now have identifiers instead of names 2023-12-07 03:04:29 -05:00
e470fb1f5c Generator alloca's variables when they are defined 2023-12-07 02:48:27 -05:00
Sasha Koshka
2353ecd0e1 Fix case where generator would assign ID to void function calls 2023-12-05 22:36:41 -05:00
Sasha Koshka
e32d349e2e Add some more test cases to the generator 2023-12-05 22:29:29 -05:00
Sasha Koshka
8bc00720ac Fix bug with popping block managers off of the stack 2023-12-05 22:27:55 -05:00
Sasha Koshka
058a985d92 Add "internal error" prefix for generator errors 2023-12-05 22:08:06 -05:00
Sasha Koshka
f7a6e905f6 Fix comments 2023-12-05 22:04:12 -05:00
Sasha Koshka
6074b414b5 Add comments 2023-12-05 16:52:33 -05:00
588800e02c Slice operations now load the data pointer 2023-12-05 15:35:17 -05:00
5205f01877 Revert slices back to having just two fields 2023-12-05 03:07:54 -05:00
b0c3839ed9 Fixed several cases where the generator would output invalid IR 2023-12-03 22:23:04 -05:00
a7fe9a592b Generator passes method owner as pointer 2023-12-03 15:38:07 -05:00
ab8d616e2b Fix stale code 2023-12-02 23:42:54 -05:00
b1cd82d4ed Generator generates methods properly 2023-12-02 23:41:35 -05:00
c0997b3e47 Oops 2023-12-02 23:36:12 -05:00
fa69bd2294 Generator now pierces pointers when accessing members as well 2023-12-02 23:35:22 -05:00
5f30623e8f Member access can now pierce through pointers in the analyzer 2023-12-02 23:23:44 -05:00
65ec3c4ad0 Analyzer adds a "this" pointer to methods 2023-12-02 23:06:58 -05:00
3b6aa7fffb String literals can be assigned to strings now 2023-12-02 22:45:22 -05:00
55a86ad64c That should be literally every feature 2023-12-02 21:45:15 -05:00