27 Commits

Author SHA1 Message Date
David Gonzalez Martin
8ae3b0caa4 Reduce usage of UnpinnedArray to just Compilation 2024-04-25 00:10:36 -06:00
David Gonzalez Martin
7bd4095cd7 Get rid of UnpinnedArray in the parser 2024-04-24 19:37:45 -06:00
David Gonzalez Martin
cabe273670 Pave the way for more changes 2024-04-24 19:02:00 -06:00
David Gonzalez Martin
de930c0729 Substitute nodes 2024-04-24 18:22:11 -06:00
David Gonzalez Martin
89c43471c2 Substitute tokens 2024-04-24 18:05:46 -06:00
David Gonzalez Martin
03e2d6798f Trailing zeroes 2024-04-23 08:08:08 -06:00
David Gonzalez Martin
343b909829 Implement wrapping arithmetic 2024-04-22 22:54:42 -06:00
David Gonzalez Martin
28776701fc First comptime for implementation 2024-04-20 08:25:31 -06:00
David Gonzalez Martin
213082f532 Implement continue expression 2024-04-18 10:14:03 -06:00
David Gonzalez Martin
2ac5e19b32 One's complement implementation 2024-04-18 07:41:59 -06:00
David Gonzalez Martin
e44a6ee8b7 Implement file reading in the self-hosted compiler 2024-04-17 08:19:35 -06:00
David Gonzalez Martin
49c8f47459 More self-hosted work 2024-04-16 21:18:07 -06:00
David Gonzalez Martin
203bee684c Write initial self-hosted code 2024-04-13 23:16:26 -06:00
David Gonzalez Martin
46f070294c Ditch allocator for arena 2024-04-10 10:31:33 -06:00
David Gonzalez Martin
84c279aa3d Self referential struct 2024-04-06 08:33:14 -06:00
David Gonzalez Martin
94af9fda83 First polymorphic type implementation 2024-04-05 09:31:45 -06:00
David Gonzalez Martin
1739e37ed3 Introduce sliceable structs 2024-04-03 07:51:08 -06:00
David Gonzalez Martin
ac3923f4d3 Implement basic C ABI support 2024-03-24 08:58:05 -06:00
David Gonzalez Martin
8e4fc03d1b Modernize std API 2024-03-08 16:35:40 -06:00
David Gonzalez Martin
4538c395f9 Avoid Zig standard library bloat
Fixes #101
2024-03-01 10:12:38 -06:00
David Gonzalez Martin
e9e5165345 Implement basic tests and error unions 2024-02-27 10:58:05 -06:00
David Gonzalez Martin
b185b0b8b8 fix macos build 2024-02-24 11:20:25 -06:00
David Gonzalez Martin
1ecf7fa908 Pass all tests on Apple M1 2024-02-20 19:55:42 -06:00
David Gonzalez Martin
e9991b8d9a pass more tests 2024-02-18 08:26:17 -06:00
David Gonzalez Martin
40734d52ee hello world 2024-02-07 19:53:58 +01:00
David Gonzalez Martin
c75b8db371 rework semantic analysis 2024-02-01 12:42:15 +01:00
David Gonzalez Martin
395bdd4cc4 Pass first test with LLVM. Ditch C transpiler 2024-01-26 23:45:02 +01:00