56 Commits

Author SHA1 Message Date
David Gonzalez Martin
5c6b050a94 C ABI implementation 2024-06-15 21:01:54 -05:00
David Gonzalez Martin
7a18413c29 Implement debug info 2024-06-08 11:00:15 -06:00
David Gonzalez Martin
cbf6829cd4 Implement arrays 2024-06-07 00:12:07 -06:00
David Gonzalez Martin
cd2316f7ee Rewrite and thread compiler 2024-05-21 19:20:34 -06:00
David Gonzalez Martin
5780ba2789 Reduce to min dependency on std.mem.Allocator 2024-04-27 11:41:00 -06:00
David Gonzalez Martin
128a3ee508 Support Asahi Linux (aarch64-linux) 2024-04-27 10:43:59 -06:00
David Gonzalez Martin
30fff3b5c4 Delete custom allocator 2024-04-26 12:00:41 -06:00
David Gonzalez Martin
ead0dbb550 Fix MacOS build 2024-04-26 08:23:08 -06:00
David Gonzalez Martin
b281ff9a88 Fix segfault in ReleaseFast 2024-04-26 08:14:01 -06:00
David Gonzalez Martin
98aff391b1 Remove UnpinnedArray last dependency (BlockList) 2024-04-26 08:10:02 -06:00
David Gonzalez Martin
5539f1e904 Delete old hashmap implementation 2024-04-25 21:29:46 -06:00
David Gonzalez Martin
0a50781ba4 Heavily reduce dependency on UnpinnedArray 2024-04-25 16:03:43 -06:00
David Gonzalez Martin
8ae3b0caa4 Reduce usage of UnpinnedArray to just Compilation 2024-04-25 00:10:36 -06:00
David Gonzalez Martin
b88f3bbba0 More self-hosted work 2024-04-23 21:55:03 -06:00
David Gonzalez Martin
c56e80d30c Bitcast string 2024-04-23 09:45:47 -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
767c9d3b7a More enum metaprogramming 2024-04-18 21:46:48 -06:00
David Gonzalez Martin
99a6b04633 Basic enum metaprogramming 2024-04-18 17:39:11 -06:00
David Gonzalez Martin
c38306be15 Support native CPU feature detection 2024-04-17 12:29:37 -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
23399c5ea6 Some Windows improvements 2024-04-15 09:23:58 -06:00
David Gonzalez Martin
5bee0d0122 Provide debug info switch 2024-04-14 14:38:32 -06:00
David Gonzalez Martin
801582b56d Integrate optimization pipeline 2024-04-14 09:37:28 -06:00
David Gonzalez Martin
203bee684c Write initial self-hosted code 2024-04-13 23:16:26 -06:00
David Gonzalez Martin
f2c978fd47 Fix struct debug info 2024-04-10 11:06:52 -06:00
David Gonzalez Martin
46f070294c Ditch allocator for arena 2024-04-10 10:31:33 -06:00
David Gonzalez Martin
60abe3f9d5 Write some LLVM optimization pipeline stub 2024-04-09 20:51:06 -06:00
David Gonzalez Martin
84c279aa3d Self referential struct 2024-04-06 08:33:14 -06:00
David Gonzalez Martin
1739e37ed3 Introduce sliceable structs 2024-04-03 07:51:08 -06:00
David Gonzalez Martin
dfcda18a70 Improve clang integration
LLVM can now be compiled with nat
2024-03-27 16:51:20 -06:00
David Gonzalez Martin
ac3923f4d3 Implement basic C ABI support 2024-03-24 08:58:05 -06:00
David Gonzalez Martin
3f0e8079eb Implement first C ABI test 2024-03-14 10:27:48 -06:00
David Gonzalez Martin
55dd12b12f Make path for C ABI tests 2024-03-13 20:57:09 -06:00
David Gonzalez Martin
8e4fc03d1b Modernize std API 2024-03-08 16:35:40 -06:00
David Gonzalez Martin
0c603f1ca3 Compile and link with musl libc 2024-03-02 23:42:56 -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
6ae42e05c5 Make build work 2024-02-21 18:32:42 -06:00
David Gonzalez Martin
ff21b7d698 remove assert builtin 2024-02-20 20:12:20 -06:00
David Gonzalez Martin
1ecf7fa908 Pass all tests on Apple M1 2024-02-20 19:55:42 -06:00
David Gonzalez Martin
f3de0b3110 Make some MacOS tests pass 2024-02-18 10:52:33 -06:00
David Gonzalez Martin
e9991b8d9a pass more tests 2024-02-18 08:26:17 -06:00
David Gonzalez Martin
177bd18eeb Fix pointer to array issue 2024-02-12 19:57:03 -06:00
David Gonzalez Martin
bd6c637f7c Fix range compute 2024-02-12 12:53:05 -06:00
David Gonzalez Martin
9c1e79edd8 delete dead code 2024-02-12 07:35:44 -06:00
David Gonzalez Martin
d4983b56f7 pass more tests 2024-02-12 07:25:26 -06:00
David Gonzalez Martin
40734d52ee hello world 2024-02-07 19:53:58 +01:00