|
|
881f127c17
|
cast
|
2026-05-04 19:56:39 +10:00 |
|
|
|
be71e2eaac
|
small bug fix, still tryna figure out nested structs
|
2026-05-04 19:27:13 +10:00 |
|
|
|
85edada2c0
|
THE STRUCT COMPIELD
|
2026-05-04 17:38:04 +10:00 |
|
|
|
7464b81f1e
|
cant test this yet cause im on my mac
|
2026-05-04 09:52:59 +10:00 |
|
|
|
430257751d
|
gotta write a way to get a pointer to a value for structs
|
2026-05-04 07:37:14 +10:00 |
|
|
|
9430514c3a
|
assignment of struct fields is completely fucked
|
2026-05-03 20:39:33 +10:00 |
|
|
|
c8fd9a68fa
|
removed uneeded print
|
2026-05-03 12:25:42 +10:00 |
|
|
|
cabdc58bb3
|
constructors working
|
2026-05-03 12:24:08 +10:00 |
|
|
|
52933d0011
|
parse new statements
|
2026-05-03 08:38:38 +10:00 |
|
|
|
e51e59c09e
|
change how compiler typemap works to support structs
|
2026-05-03 07:27:07 +10:00 |
|
|
|
4894f94ea5
|
remove AST_TYPE_NAME
|
2026-05-03 07:22:25 +10:00 |
|
|
|
e955b39515
|
added some new logic to the parser so structs can be used as types
|
2026-05-03 07:20:38 +10:00 |
|
|
|
d55bf0ef50
|
bug with printing structs fixed
|
2026-05-02 22:12:22 +10:00 |
|
|
|
c754176e41
|
made the compiler support variables with no value
|
2026-05-02 22:07:15 +10:00 |
|
|
|
d9aaefe7bd
|
change the way reassignment works to support the dot operator
|
2026-05-02 22:03:09 +10:00 |
|
|
|
1e1d616793
|
added dot operator
|
2026-05-02 21:37:37 +10:00 |
|
|
|
81e2abc5c5
|
print constructor
|
2026-05-02 20:59:10 +10:00 |
|
|
|
98a26d2a41
|
parse constructor def
|
2026-05-02 20:51:08 +10:00 |
|
|
|
92c376757b
|
parse struct fields
|
2026-05-02 20:39:35 +10:00 |
|
|
|
78eb02d189
|
automatic promotion for ints in infix expressions
|
2026-05-02 13:34:37 +10:00 |
|
|
|
9e6970d04f
|
removed ast print
|
2026-05-02 13:11:47 +10:00 |
|
|
|
9eaeaf7fbf
|
removed testing files
|
2026-05-02 13:09:58 +10:00 |
|
|
|
0d061a81d5
|
added implicit casts for return types and variable types
just ints for now, will add floats later
|
2026-05-02 13:07:10 +10:00 |
|
|
|
7a4dc3b055
|
added credit for the repl_str function
|
2026-05-02 11:36:11 +10:00 |
|
|
|
27c14e0edd
|
printf works :D
|
2026-05-02 11:35:50 +10:00 |
|
|
|
fb5abf9ee0
|
added strings
|
2026-05-02 11:18:21 +10:00 |
|
|
|
1dd172682b
|
for loops working!
|
2026-05-02 10:30:05 +10:00 |
|
|
|
035a7a19fe
|
started work on for loops and fixed bug in parser
|
2026-05-02 10:02:40 +10:00 |
|
|
|
072740bf51
|
while loops working
|
2026-05-02 09:31:27 +10:00 |
|
|
|
2320e4901f
|
made syntax highlighting more consistent in syntax.md
|
2026-05-02 08:50:00 +10:00 |
|
|
|
21e2b97f62
|
IF STATEMENTS WORK
|
2026-05-02 08:34:04 +10:00 |
|
|
|
5c492f4cba
|
FUNCTION CALLS ARE WORKING YIPEEE
|
2026-05-01 07:51:36 +10:00 |
|
|
|
04ac64db78
|
write module to file instead of printing it
|
2026-04-30 21:17:40 +10:00 |
|
|
|
d8de322c00
|
reassignment done
|
2026-04-30 21:14:55 +10:00 |
|
|
|
65454e160a
|
VARIABLES WORK LETS FUCKING GOOOO
|
2026-04-30 21:06:22 +10:00 |
|
|
|
2e89e4a786
|
small fix
|
2026-04-30 20:43:58 +10:00 |
|
|
|
d1ce3989fc
|
core compiler type resolver done, we are returning a value!!! :D
|
2026-04-30 20:16:03 +10:00 |
|
|
|
6ae4d6bf0d
|
basic llvm setup
|
2026-04-30 18:57:35 +10:00 |
|
|
|
b34bd425ee
|
ok thats it we're going LLVM
|
2026-04-30 17:56:54 +10:00 |
|
|
|
54b7ee1a7d
|
ok im switching to LLVM after this commit im not smart enough 😭
|
2026-04-30 07:48:11 +10:00 |
|
|
|
7667fcd04e
|
im going through the seven stages of grief
|
2026-04-29 21:09:58 +10:00 |
|
|
|
852a513505
|
FUNCTION CALLS FUCKING WORK BABBYYY
|
2026-04-29 06:28:36 +10:00 |
|
|
|
fbae99876f
|
woops, maybe dont set a char* to 0 😭
|
2026-04-29 05:46:37 +10:00 |
|
|
|
6a9770b22b
|
function calls are nearly fully working! :D
|
2026-04-29 05:43:04 +10:00 |
|
|
|
7c9f1211a0
|
starting work on function call code gen
|
2026-04-28 20:34:51 +10:00 |
|
|
|
41baf58870
|
fix small bug in parser error messages
|
2026-04-28 19:52:36 +10:00 |
|
|
|
ef048b01f7
|
hide generated asm
|
2026-04-28 19:46:31 +10:00 |
|
|
|
8e00ec36cb
|
added register lifetime with the help of good ol' gpt lol
|
2026-04-28 19:44:31 +10:00 |
|
|
|
1f8906981b
|
basic return statement is being compiled. very noice
|
2026-04-28 19:11:36 +10:00 |
|
|
|
72b09f0d06
|
codegen for assignments, functions, and reassignments
|
2026-04-28 18:47:53 +10:00 |
|