18 Commits

Author SHA1 Message Date
b8e2be6b38 Remove libc dependency for the generated code 2024-12-20 16:08:45 +01:00
052dda78f8 Split result into symboltable and types 2024-12-20 16:08:45 +01:00
aa5579f234 Generate code for loops 2024-12-20 16:08:45 +01:00
c6ef27d809 Don't relax function calls 2024-12-20 16:08:45 +01:00
ad45de9049 Parse reference and dereference operators 2024-12-20 16:08:45 +01:00
986bcdd0c7 Parse pointer types 2024-12-20 16:08:45 +01:00
0cad759415 Implement comparison operators 2024-12-20 16:08:45 +01:00
5cf0863e0a Support multiple function arguments 2024-12-20 16:08:45 +01:00
90430c47f4 Parse parameter list 2024-12-20 16:08:45 +01:00
12869f0ec7 Support procedure calls without arguments 2024-12-20 16:08:45 +01:00
a78e08521e Implement first intrinsics for output 2024-12-20 16:08:45 +01:00
c210c55a17 Replace ! with a function call writei 2024-12-20 16:08:45 +01:00
e7d8f9116a Write parts of generated code directly to objects 2024-12-20 16:08:45 +01:00
27197c7725 Implement simple if conditions 2024-12-20 16:08:45 +01:00
99a1ef5f96 Assign variables 2024-12-20 16:08:45 +01:00
25657ac36d Support compound statements 2024-12-20 16:08:45 +01:00
a3e3be5ec7 Implement division 2024-12-20 16:08:45 +01:00
fe805ca893 Split code generation from the ui 2024-12-20 16:08:45 +01:00