Sofia teascade
teascade pushed to main at teascade/reid-llvm 2025-07-23 20:08:58 +02:00
5831b06af5 Update readme
teascade pushed to main at teascade/reid-llvm 2025-07-23 20:08:06 +02:00
a9abb55287 Merge branch 'loops'
c4017715d2 Codegen for/while loops
a251be2715 Make loops typecheck and type infere
15ff9c5906 Fix warnings
75a7a435d1 Make for-loops syntax sugar instead
Compare 8 commits »
teascade pushed to loops at teascade/reid-llvm 2025-07-23 19:44:35 +02:00
75a7a435d1 Make for-loops syntax sugar instead
teascade pushed to loops at teascade/reid-llvm 2025-07-23 19:29:25 +02:00
1a5e3ef1d9 Add loops ast -> mir
ef4964ed86 Add parsing for for/while loops
431aae0b0d Add lexing to loops
Compare 3 commits »
teascade created branch loops in teascade/reid-llvm 2025-07-23 19:29:25 +02:00
teascade pushed to main at teascade/reid-llvm 2025-07-23 18:54:31 +02:00
c699b67d75 Add clamp and abs to std, credit to @neon
ccb5741666 Fix add_num_to_str to accept arbitrary length numbers
9fcf19383c Check that tests always return a specific value
59ecaa0d92 Make e2e test execute compiled binaries
bb69ce4968 Fix LD-environment variable
Compare 17 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 22:50:07 +02:00
691c91504b Rename reid_src to examples
c643bb235f Add production of .llir and .mir -files for LLIR and MIR
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 22:32:46 +02:00
b39b829061 Add production of .llir and .mir -files for LLIR and MIR
teascade pushed to main at teascade/reid-llvm 2025-07-22 22:25:54 +02:00
97f5eebf22 Fix some warnings
teascade pushed to main at teascade/reid-llvm 2025-07-22 22:20:51 +02:00
9df1593de9 Fix decimal parsing, add u128-support for integer parsing
8954d1a6d0 Add binop_hint
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 22:02:04 +02:00
c4f78471cd Update readme
teascade pushed to main at teascade/reid-llvm 2025-07-22 21:55:52 +02:00
38b7030e98 Fix binary operations
1e86a9a2aa Remove main.rs, remove debug prints
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 21:41:28 +02:00
2f56f148cb Fix assert_known
8bbee5eb41 Fix binops not using hint properly
ef427f5e58 Fix checking that parameters and return-type is known
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 21:15:53 +02:00
0a90ac4497 Fix inner block generation
f944387847 Merge branch 'main' into if-expr-lhs-rhs
59c8b641ca Move cli to main, update version
04ecc94403 Commit to git
29d790e583 Start working on if-expression hands being expressions
Compare 5 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 20:06:06 +02:00
682295b04a Fix casting from the same size of integer
e5f6b37210 Fix std
5c5c9c5f7b Improve error for statement-failure
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 19:47:54 +02:00
8f45c8cf92 Fix nested if/else, add add_num_to_str to standard library
32059682ee Make add_char and set_char work
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 19:07:50 +02:00
64418635a5 Add from_str to stdlib
28437aecb6 Fix indexing return type and casting to and from a char
Compare 2 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 18:51:04 +02:00
bbdfae081d Fix std Strings
3d73c52cb4 Fix casting within setters
81ce1dfc2e Fix a bunch of bugs with debug information and stuff
78a1e9f06b Fix typedef issue with modules
f35f1ef701 Repurpose module map and rename old to ErrorModules
Compare 7 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-22 14:08:05 +02:00
1224c612c7 Codegen & compile char, change *str to *char
108cf6efa5 Add FCmp to codegen
9b9398ac26 Add lexing of escaped characters, add parsing of characters
e220900ac3 Start adding chars
9c0d373f9d Fix casting to same type
Compare 6 commits »
teascade created branch char in teascade/reid-llvm 2025-07-22 14:07:56 +02:00