4 Commits

Author SHA1 Message Date
a966ff45a3 Improve messages, implement* field access
Compiler messages are now printed in color with their respective code,
field access support has been added in the type checker. However, field
access nodes that contain other field access nodes are not yet
supported.

Signed-off-by: Slendi <slendi@socopon.com>
2024-04-08 11:42:39 +03:00
81b0c139ef Add initial support for structs
There is an issue with calling C functions sadly because LLVM seems to
prefer passing each element as its own parameter than "packing" them
into 64 bit registers.

Signed-off-by: Slendi <slendi@socopon.com>
2024-03-26 13:32:51 +02:00
7ab94d4ed5 Implement binary in the lexer
Signed-off-by: Slendi <slendi@socopon.com>
2024-02-28 16:35:40 +02:00
78c8e50bbf Move code to separate folder
Signed-off-by: Slendi <slendi@socopon.com>
2024-02-28 15:07:08 +02:00