Commit Graph

11 Commits

Author SHA1 Message Date
081ff9a27a Add external functions (both import and export), make includes work
still need to fix literal arrays, it has the same problem as struct
literals had with moving the literal into memory and modifying the
memory with variables
2026-01-29 22:37:04 +02:00
834b5b1213 no segfault! 2026-01-28 22:30:02 +02:00
158b76fe39 :3 2026-01-17 16:31:40 +02:00
06d8c1b0f3
Add all of the code gen, want to show it off 2025-03-27 18:49:17 +02:00
f338f07e7d
Start of typechecking and other processing of ast after parsing 2024-12-22 02:53:21 +02:00
cb297bf75e
Fixed error when parsing a function with no arguments 2024-12-22 02:52:39 +02:00
d5f02cf1d5
Replaced all the *Box with a generic LocBox<T> 2024-12-22 02:17:43 +02:00
d2b0e57ce6
Saved location in tokens post parsing, fixed parsing just skipping stuff
(shoulda thought of that)
2024-12-22 02:01:04 +02:00
6c01265f0b
Fix array type parsing, where it crashes with "IOT instruction, stack overflow" 2024-12-21 23:07:12 +02:00
8bb0e28d80
Fix error when parsing a block where if its empty it errors asking for semicolon 2024-12-21 23:06:02 +02:00
54b6df5862
Initial 2024-12-21 03:22:07 +02:00