Sofia teascade
teascade pushed to main at teascade/reid-llvm 2025-07-17 19:20:52 +02:00
ce2278ce45 Fix using custom type-labels for e.g. return type
0f782dcb96 Fix parse error returning the token after the error
6dfd98eba3 Use true source for error formatting
df4febf1ef Add formatting of the printed lines to errors
9d1b18f083 Add FullToken array to error raporting
Compare 9 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-17 11:38:06 +02:00
cb2604dc22 Update readme
teascade pushed to main at teascade/reid-llvm 2025-07-17 11:36:21 +02:00
c07e488f48 Update state.load a bit to make a better default for it
8ffb3baa8d Add Any-mutability for StackValues
8abee593f0 Fix value transfer in structs and arrays
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-16 23:05:56 +02:00
9a4f0dc5d8 Allow for cloning inner values
965ad5797f Implement rudamentary borrow
e4ce897f94 Fix expression-indexing
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-16 22:22:17 +02:00
d2cf97af66 Move should_load to separate State
d034754202 Possibly fix array_structs
c41aab33a9 Add optional data to PassState Scope
c19384d77b Refactor a bit
3870b421a9 Refactor indexing/accessing a bit, no mutability
Compare 5 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-16 20:19:52 +02:00
4ad871ff3d Remove dbg prints
d4616ea025 Add array_structs.reid to test arrays and structs together
79c98a18f7 Fix some warnings, remove unused code
1eb3e8c095 Refactor IndexedVariableReference being a bit smarter
dbd048c21c Fix struct indexing when setting a field
Compare 8 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-16 16:53:51 +02:00
233ddb60f7 Fix struct gep return type, refactor a bit
2a879b5ef4 Implement codegen for structs
d1a37058df Fix warnings
29996c4a30 Add builder methods to create custom types
31185d921e Properly implement structs in lib
Compare 5 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-15 23:20:39 +02:00
97fc468d78 Update how struct access is displayed
teascade pushed to main at teascade/reid-llvm 2025-07-15 23:17:04 +02:00
77439ee34a Implement typechecking for structs
aafab49f82 Fix struct access type inference
7075b6f73f Update order of prints
1d1e574136 Implement type inference for structs
e13b6349f0 Add ScopeTypes to Pass
Compare 5 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-15 21:03:57 +02:00
b012a46e91 Process Struct ASTs into MIR
f139a5ad6c Add MIR support for struct types
d9a1e8456d Add struct indexing parsing
c83d53ae53 Add struct type and expression parsing
5fca72a3f9 Add lexing support for structs
Compare 6 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-15 19:09:47 +02:00
1acaa29a12 Fix module scopes being linked
6788ef1690 Use AvailableExternally-linkage for externs for imports
6f8c02ac04 Add compilation time to cli
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-15 18:35:51 +02:00
dc9450f64a Fix libtest.sh
teascade pushed to main at teascade/reid-llvm 2025-07-15 02:13:24 +02:00
19c883ea33 Add e2e tests
teascade pushed to main at teascade/reid-llvm 2025-07-15 00:20:51 +02:00
824978de49 Remove array binary
teascade pushed to main at teascade/reid-llvm 2025-07-15 00:17:18 +02:00
28d632d51c Add Makefile by @neon, fix array typechecking during typeinference
teascade pushed to main at teascade/reid-llvm 2025-07-15 00:16:46 +02:00
29200bd4ef Add Makefile by @jens, fix array typechecking during typeinference
bcad9b57fe Make the compiler produce .o/.asm/.ll according to input file name
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-14 22:43:16 +02:00
5b5ec48b8d Put all debug prints behind debug-assertions
teascade pushed to main at teascade/reid-llvm 2025-07-14 21:57:39 +02:00
0e5f12e0e2 Update README
teascade pushed to main at teascade/reid-llvm 2025-07-14 21:56:54 +02:00
587aa1d7f2 Fix warnings
teascade pushed to main at teascade/reid-llvm 2025-07-14 21:56:07 +02:00
1e759d49c7 Fix issue in type-inference pass about function params not registering