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
1f4645ed24
Upgrade to rust 2024
...
Wow this project is old
2026-01-17 16:39:01 +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
b8728b8f8d
Changed main function back to using anyhow::Result<T> cause i dont get backtraces without it
2024-12-22 02:01:54 +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
323d3342a3
Add a default binary so cargo doesnt ask me everyt time what to run
2024-12-21 23:09:29 +02:00
9d243e33b6
Setup parser testing with various tests
2024-12-21 23:09:10 +02:00
77738f7e20
Remove unused import
2024-12-21 23:08:45 +02:00
bf7f44e776
Dehardcode main function, impemented basic cli
2024-12-21 23:08:29 +02:00
857471c6a9
Add the location of the log lines in the compiler code when running a debug build
2024-12-21 23:07:51 +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
debcf6ad6c
MCLang, now with testing!
2024-12-21 05:10:03 +02:00
54b6df5862
Initial
2024-12-21 03:22:07 +02:00