-
be7fa71b53
Add ScopeHints tentatively
sofia
2025-07-12 15:32:29 +0300
-
04e0c136df
Fix warnings
sofia
2025-07-12 14:42:05 +0300
-
0f424c70d7
Implement mutability part 2
sofia
2025-07-12 14:37:10 +0300
-
14e0dcbe15
(broken) add part 1 of mutability
sofia
2025-07-12 02:38:31 +0300
-
85b2ebf04a
Add mutability parsing
sofia
2025-07-11 21:32:20 +0300
-
615fec6e52
Add TODO, remove TODOs
sofia
2025-07-09 22:44:33 +0300
-
d04a70e464
Remove unused variable
sofia
2025-07-09 22:33:56 +0300
-
383302c1c2
Fix old fibonacci not working due to last change
sofia
2025-07-09 22:32:47 +0300
-
b19a32cd8a
Make early returns work even without an explicit return
sofia
2025-07-09 22:20:08 +0300
-
1aa9b3e76c
Add RetVoid just in case
sofia
2025-07-09 22:01:32 +0300
-
94c4ec0613
Add a block garbage-collector that will delete an unused block at end
sofia
2025-07-09 21:57:48 +0300
-
d757ac4eb3
Fiddle around with if-expression codegen
sofia
2025-07-09 21:12:39 +0300
-
c50474cc8e
Update README.md
sofia
2025-07-09 20:27:12 +0300
-
50f5f3cc70
Update lib.rs docs
sofia
2025-07-09 20:16:52 +0300
-
f7fa69fbe2
Add docs to lib.rs
sofia
2025-07-09 20:13:16 +0300
-
a907fec967
Fix module docs
sofia
2025-07-09 20:07:30 +0300
-
9710d17e00
Add a bunch of documentation
sofia
2025-07-09 20:01:24 +0300
-
257496aae2
Rename LogicOperator to CmpOperator
sofia
2025-07-09 19:24:07 +0300
-
197f0b22f3
Add boolean literals
sofia
2025-07-09 19:17:03 +0300
-
b84672ef8c
Add Mult and And -operators to the whole chain
sofia
2025-07-09 19:08:21 +0300
-
8afb2c2572
Fix bug in Logic Operator conversion
sofia
2025-07-09 19:00:03 +0300
-
974647b401
Fix FullToken positions
sofia
2025-07-09 18:54:51 +0300
-
d5daaa0e87
Improve Debug and Display implementations
sofia
2025-07-09 18:42:08 +0300
-
49df6c9ed9
Add a bunch of new integer comparison operators
sofia
2025-07-09 16:05:08 +0300
-
46560d8541
Add all types u8 -> i128 and fix signedness in icmp
sofia
2025-07-08 23:47:44 +0300
-
14283afe59
Separate pass-common code to pass.rs
sofia
2025-07-08 21:44:04 +0300
-
2e99ec3a80
Fix warnings
sofia
2025-07-08 18:47:46 +0300
-
fb876e3ef5
Add type from let through parser to MIR
sofia
2025-07-08 18:41:10 +0300
-
cdbc4593a8
Move hard_hint to scope
sofia
2025-07-08 18:31:04 +0300
-
9b9fcd4ec4
Make AST contain only abstract Numbers
sofia
2025-07-08 00:48:28 +0300
-
95b3ffe8ef
Add custom debug format for LLIR
sofia
2025-07-08 00:04:35 +0300
-
22737f022e
Fix variable type let inference
sofia
2025-07-07 23:40:35 +0300
-
a7292f4719
Fix comparison return type in typechecking
sofia
2025-07-07 23:31:32 +0300
-
9b68ecb614
Add some security checks, typecheck for condition to be a boolean
sofia
2025-07-07 23:25:07 +0300
-
a366d22470
Add typechecking
sofia
2025-07-07 23:03:21 +0300
-
12dc457b99
Add mandatory return type for MIR Function
sofia
2025-07-07 18:32:37 +0300
-
0932af2e3b
Simplify transformation from AST to MIR
sofia
2025-07-06 23:01:28 +0300
-
48ae533f33
Remove the old files
sofia
2025-07-06 20:49:28 +0300
-
35efa78a56
Connect all the wires again
sofia
2025-07-06 20:49:13 +0300
-
58117d86e4
Make a more Rusty LLIR for the lib that is compiled to LLVM IR
sofia
2025-07-06 19:47:05 +0300
-
454cefafc9
Add middleware PrimaryExpression-struct to make TokenRanges correct
sofia
2025-07-05 18:02:06 +0300
-
20dfdfec9f
update README.md
sofia
2025-07-05 01:52:03 +0300
-
0392c293ba
Cleanup
sofia
2025-07-05 01:41:03 +0300
-
61ba00ea58
Transform AST into MIR successfully, completing the chain
sofia
2025-07-05 01:34:57 +0300
-
a66fc61c07
Fiddle with names a bit
sofia
2025-07-04 21:54:07 +0300
-
8a32e66ba8
Refactor a bunch of stuff, produce compiling MIR
sofia
2025-07-04 21:30:40 +0300
-
05c585d47c
Add sub and fibonacci calculation
sofia
2025-06-29 19:11:56 +0300
-
7b93ab5d2e
Fix from_cstring from taking ownership
sofia
2025-06-29 18:19:59 +0300
-
814b816450
Add phi
sofia
2025-06-29 01:18:17 +0300
-
5b23d7d4d5
rework
sofia
2025-06-28 21:58:35 +0300
-
740aee1382
Add SIGN to IntegerType
sofia
2025-06-28 18:56:24 +0300
-
02d8b37424
Move context.rs to lib.rs
sofia
2025-06-28 18:49:54 +0300
-
85564c74c9
Rework api
sofia
2025-06-28 00:14:56 +0300
-
54f25481f4
Misc changes
sofia
2025-06-27 20:37:31 +0300
-
922afaa672
Change clang-command to ld, add util.rs
sofia
2025-06-25 21:38:30 +0300
-
d0aa3e1410
Add the ability to call functions
sofia
2025-06-24 23:30:29 +0300
-
5f93b7c9c2
Add rudamentary LLVM lib stuff, make a fully compiling executable
sofia
2025-06-24 23:10:44 +0300
-
6d3d0fd03e
Move reid to subproject
sofia
2025-06-24 17:17:00 +0300
-
a3642f127c
Verify before printing
sofia
2024-09-12 20:41:23 +0300
-
7f3a3ac1f8
modify how block is codegenerated
sofia
2024-08-25 23:28:01 +0300
-
e21f47e34b
Implement some kind of if/else
sofia
2024-08-25 23:17:52 +0300
-
8defa39b31
Restructure a bit
sofia
2024-08-25 22:29:45 +0300
-
6a4c30e49e
Add scope.inner
sofia
2024-08-22 00:34:58 +0300
-
8b8cd2c464
Add comments to easy.reid
sofia
2024-08-21 23:31:31 +0300
-
6448b0c438
Add necessary codegen for easy.reid
sofia
2024-08-21 23:31:09 +0300
-
e00d9afc7b
Add Scope
sofia
2024-08-21 23:07:04 +0300
-
7208fe962e
Read return and function name from signature
sofia
2024-08-21 22:14:32 +0300
-
525dab2147
dd IRValue, IRBlock
sofia
2024-08-21 22:00:53 +0300
-
9b5d8acdb4
Add IRFunction, mess with lifetimes
sofia
2024-08-21 21:16:23 +0300
-
22ee941ad6
Move module creation to IRModule
sofia
2024-08-21 20:12:47 +0300
-
9a74158ae7
Minor tweaks
sofia
2024-08-21 20:08:02 +0300
-
dd3e0618ae
Add the very most basic codegen
sofia
2024-07-17 20:43:28 +0300
-
8176dc98a3
Add TokenStream
sofia
2024-07-17 20:08:24 +0300
-
c5c9cd3458
Add parse_if and parse_map
sofia
2024-07-17 19:28:06 +0300
-
c6e6e1dbee
Fix operator precedence parsing
sofia
2024-07-17 18:39:31 +0300
-
b98000cebe
tart adding an if-statement
old-main
sofia
2024-07-17 17:13:10 +0300
-
-
47b9d7e044
Disable warnings for lacking ; for if-statements
sofia
2023-12-13 00:33:13 +0200
-
5084f21ff9
Add parsing for if-statements
sofia
2023-08-03 21:24:57 +0300
-
4c8417cbee
Add return types, function args
sofia
2023-08-03 20:30:00 +0300
-
420fd7b74b
Implement block-level-expressions
sofia
2023-08-03 20:10:12 +0300
-
413cd87a02
Add soft/hard returns
sofia
2023-08-03 20:08:20 +0300
-
f22505be91
Add function calls and mult
sofia
2023-08-03 00:53:39 +0300
-
4e89cd7355
Add more error raporting
sofia
2023-08-02 20:22:10 +0300
-
9710406747
Fix error
sofia
2023-08-02 20:17:20 +0300
-
91a6485d5a
Add more error handling
sofia
2023-08-02 20:17:06 +0300
-
9b7a31c988
Add errors for lexer and parser
sofia
2023-08-02 19:58:10 +0300
-
c7f11e5091
Add errors, move compiling to examples
sofia
2023-08-02 19:17:57 +0300
-
e9aab4f43e
Use print to string instead of dump
sofia
2023-08-02 18:48:56 +0300
-
2ced45eb40
Refactor
sofia
2023-08-02 18:43:47 +0300
-
08909d76ee
Fix warnings
sofia
2023-08-02 18:38:38 +0300
-
9019e1e5a7
Split codegen properly
sofia
2023-08-02 18:37:31 +0300
-
817b7c2096
Add Scope-struct
sofia
2023-08-02 18:29:20 +0300
-
612b4d63a8
Reorganize code
sofia
2023-08-02 18:19:30 +0300
-
297ff832b5
Remove comment
sofia
2023-08-02 17:03:21 +0300
-
a196857dd6
Add simple codegen from actual AST
sofia
2023-08-02 17:03:06 +0300
-
a9d5302774
Add blockexpr, possible paren to exp
sofia
2023-08-02 15:54:16 +0300
-
9d7a63f25b
Make return special for block
sofia
2023-08-02 15:34:20 +0300
-
dca604a038
Add preliminary codegen, update parsing to require functions
sofia
2023-08-02 15:31:33 +0300
-
17ab6a0cea
Update gitignore
sofia
2023-08-02 01:01:22 +0300
-
bda4fa4200
Move stuff around, add comment about compiling LLVM
sofia
2023-07-31 00:35:46 +0300