108 Commits

Author SHA1 Message Date
David Gonzalez Martin
ead0dbb550 Fix MacOS build 2024-04-26 08:23:08 -06:00
David Gonzalez Martin
8b8d1b720e Remove unit dead code 2024-04-26 08:18:17 -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
3ee62420a3 Remove direct use of UnpinnedArray in Compilation 2024-04-25 22:07:40 -06:00
David Gonzalez Martin
104f8ef827 Better support Windows in the lexer 2024-04-25 21:44:19 -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
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
d7301d532f Remove residual use of ArrayList 2024-04-24 18:25:02 -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
d32d7fdece Prepare for arena 2024-04-24 13:52:47 -06:00
David Gonzalez Martin
40c570f3f1 More self hosted work 2024-04-24 07:41:37 -06:00
David Gonzalez Martin
b88f3bbba0 More self-hosted work 2024-04-23 21:55:03 -06:00
David Gonzalez Martin
51899ca4af Fix slice expression with comptime range 2024-04-23 12:03:29 -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
5eb77c3daf Enable CI 2024-04-22 11:47:39 -06:00
David Gonzalez Martin
91002c91c0 Delete unneeded libc files 2024-04-20 08:43:30 -06:00
David Gonzalez Martin
28776701fc First comptime for implementation 2024-04-20 08:25:31 -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
b4dbf18d4a Improve handling of block termination in switches 2024-04-18 13:25:03 -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
d68c2e8fc4 Actually implement polymorphism in functions 2024-04-17 21:18:21 -06:00
David Gonzalez Martin
98dce155c8 More self-hosted work 2024-04-17 19:17:16 -06:00
David Gonzalez Martin
c38306be15 Support native CPU feature detection 2024-04-17 12:29:37 -06:00
David Gonzalez Martin
166e9a5b8e lexer: count lines 2024-04-17 08:29:42 -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
5914c54116 Remove dead code 2024-04-14 10:32:48 -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
5473d1c5a9 Print some arguments 2024-04-11 07:53:04 -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
08ca8706b9 Some Windows fixes 2024-04-09 15:25:20 -06:00
David Gonzalez Martin
9244bd106d Basic polymorphic function 2024-04-08 19:45:13 -06:00
David Gonzalez Martin
80a4b656f9 Rework polymorphism 2024-04-08 18:59:17 -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