Sofia teascade
teascade pushed to main at teascade/reid-llvm 2025-07-09 21:34:05 +02:00
d04a70e464 Remove unused variable
teascade pushed to main at teascade/reid-llvm 2025-07-09 21:33:10 +02:00
383302c1c2 Fix old fibonacci not working due to last change
teascade pushed to main at teascade/reid-llvm 2025-07-09 21:20:22 +02:00
b19a32cd8a Make early returns work even without an explicit return
teascade pushed to main at teascade/reid-llvm 2025-07-09 21:01:38 +02:00
1aa9b3e76c Add RetVoid just in case
94c4ec0613 Add a block garbage-collector that will delete an unused block at end
d757ac4eb3 Fiddle around with if-expression codegen
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-09 19:27:18 +02:00
c50474cc8e Update README.md
teascade pushed to main at teascade/reid-llvm 2025-07-09 19:17:03 +02:00
50f5f3cc70 Update lib.rs docs
teascade pushed to main at teascade/reid-llvm 2025-07-09 19:13:26 +02:00
f7fa69fbe2 Add docs to lib.rs
teascade pushed to main at teascade/reid-llvm 2025-07-09 19:07:38 +02:00
a907fec967 Fix module docs
teascade pushed to main at teascade/reid-llvm 2025-07-09 19:01:33 +02:00
9710d17e00 Add a bunch of documentation
teascade pushed to main at teascade/reid-llvm 2025-07-09 18:24:21 +02:00
257496aae2 Rename LogicOperator to CmpOperator
197f0b22f3 Add boolean literals
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-09 18:08:37 +02:00
b84672ef8c Add Mult and And -operators to the whole chain
teascade pushed to main at teascade/reid-llvm 2025-07-09 18:00:14 +02:00
8afb2c2572 Fix bug in Logic Operator conversion
974647b401 Fix FullToken positions
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-09 17:47:46 +02:00
d5daaa0e87 Improve Debug and Display implementations
teascade pushed to main at teascade/reid-llvm 2025-07-09 15:05:21 +02:00
49df6c9ed9 Add a bunch of new integer comparison operators
teascade pushed to main at teascade/reid-llvm 2025-07-08 23:08:26 +02:00
46560d8541 Add all types u8 -> i128 and fix signedness in icmp
14283afe59 Separate pass-common code to pass.rs
2e99ec3a80 Fix warnings
fb876e3ef5 Add type from let through parser to MIR
cdbc4593a8 Move hard_hint to scope
Compare 17 commits »
teascade pushed to llvm-llir-version at teascade/reid-llvm 2025-07-08 22:48:02 +02:00
46560d8541 Add all types u8 -> i128 and fix signedness in icmp
14283afe59 Separate pass-common code to pass.rs
Compare 2 commits »
teascade pushed to llvm-llir-version at teascade/reid-llvm 2025-07-08 17:48:22 +02:00
2e99ec3a80 Fix warnings
fb876e3ef5 Add type from let through parser to MIR
cdbc4593a8 Move hard_hint to scope
9b9fcd4ec4 Make AST contain only abstract Numbers
Compare 4 commits »
teascade pushed to llvm-llir-version at teascade/reid-llvm 2025-07-07 23:04:52 +02:00
95b3ffe8ef Add custom debug format for LLIR
22737f022e Fix variable type let inference
a7292f4719 Fix comparison return type in typechecking
9b68ecb614 Add some security checks, typecheck for condition to be a boolean
a366d22470 Add typechecking
Compare 5 commits »
teascade pushed to llvm-llir-version at teascade/reid-llvm 2025-07-07 17:32:50 +02:00
12dc457b99 Add mandatory return type for MIR Function
teascade pushed to llvm-llir-version at teascade/reid-llvm 2025-07-06 22:01:47 +02:00
0932af2e3b Simplify transformation from AST to MIR