Sofia teascade
teascade pushed to main at teascade/reid-llvm 2025-07-24 11:19:08 +02:00
89002f34e4 Add function double-definition checking
954f3438d3 Codegen intrinsics
b793ef7526 Add intrinsic code generation part 1
5ff5651f5f Work on intrinsics, clean up code a bit
4f1dc5e59d Merge branch 'main' into intrinsicts
Compare 7 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-24 02:29:32 +02:00
3404f0fb6e Add static allocator, fix loop_hard
6664b25932 Fix deref expecting a codegenptr and not borrow
87a8eac61b Fix for loops causing issues together
5464bba17e Add one more failing test credit to @neon
f7500b886a Add two failing examples
Compare 5 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-23 22:11:38 +02:00
7027ee3645 Fix default for arrays
f6ed39d4e5 Fix two examples, break one
aeca557b6f Make breaking changes to stdlib
Compare 3 commits »
teascade pushed to main at teascade/reid-llvm 2025-07-23 21:01:30 +02:00
de803e9024 Fix from_str in stdlib, add concat_strings
d96fc51b9c Fix adding to string that was allocated earlier
0d3abe8e42 Fix add_num_to_string not printing 10
14537743ed Fix for-loops
Compare 4 commits »
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 »