|
7f3a3ac1f8
|
modify how block is codegenerated
|
2024-08-25 23:28:01 +03:00 |
|
|
e21f47e34b
|
Implement some kind of if/else
|
2024-08-25 23:17:52 +03:00 |
|
|
8defa39b31
|
Restructure a bit
|
2024-08-25 22:29:45 +03:00 |
|
|
6a4c30e49e
|
Add scope.inner
|
2024-08-22 00:34:58 +03:00 |
|
|
8b8cd2c464
|
Add comments to easy.reid
|
2024-08-21 23:31:31 +03:00 |
|
|
6448b0c438
|
Add necessary codegen for easy.reid
|
2024-08-21 23:31:09 +03:00 |
|
|
e00d9afc7b
|
Add Scope
|
2024-08-21 23:07:04 +03:00 |
|
|
7208fe962e
|
Read return and function name from signature
|
2024-08-21 22:14:32 +03:00 |
|
|
525dab2147
|
dd IRValue, IRBlock
|
2024-08-21 22:00:53 +03:00 |
|
|
9b5d8acdb4
|
Add IRFunction, mess with lifetimes
|
2024-08-21 21:16:23 +03:00 |
|
|
22ee941ad6
|
Move module creation to IRModule
|
2024-08-21 20:12:47 +03:00 |
|
|
9a74158ae7
|
Minor tweaks
|
2024-08-21 20:08:02 +03:00 |
|
|
dd3e0618ae
|
Add the very most basic codegen
|
2024-07-17 20:43:28 +03:00 |
|
|
8176dc98a3
|
Add TokenStream
|
2024-07-17 20:08:24 +03:00 |
|
|
c5c9cd3458
|
Add parse_if and parse_map
|
2024-07-17 19:28:06 +03:00 |
|
|
c6e6e1dbee
|
Fix operator precedence parsing
|
2024-07-17 18:39:31 +03:00 |
|
|
47b9d7e044
|
Disable warnings for lacking ; for if-statements
|
2023-12-13 00:33:13 +02:00 |
|
|
5084f21ff9
|
Add parsing for if-statements
|
2023-08-03 21:24:57 +03:00 |
|
|
4c8417cbee
|
Add return types, function args
|
2023-08-03 20:30:00 +03:00 |
|
|
420fd7b74b
|
Implement block-level-expressions
|
2023-08-03 20:10:12 +03:00 |
|
|
413cd87a02
|
Add soft/hard returns
|
2023-08-03 20:08:20 +03:00 |
|
|
f22505be91
|
Add function calls and mult
|
2023-08-03 00:53:39 +03:00 |
|
|
4e89cd7355
|
Add more error raporting
|
2023-08-02 20:22:10 +03:00 |
|
|
9710406747
|
Fix error
|
2023-08-02 20:17:59 +03:00 |
|
|
91a6485d5a
|
Add more error handling
|
2023-08-02 20:17:06 +03:00 |
|
|
9b7a31c988
|
Add errors for lexer and parser
|
2023-08-02 19:58:10 +03:00 |
|
|
c7f11e5091
|
Add errors, move compiling to examples
|
2023-08-02 19:17:57 +03:00 |
|
|
e9aab4f43e
|
Use print to string instead of dump
|
2023-08-02 18:48:56 +03:00 |
|
|
2ced45eb40
|
Refactor
|
2023-08-02 18:43:47 +03:00 |
|
|
08909d76ee
|
Fix warnings
|
2023-08-02 18:38:38 +03:00 |
|
|
9019e1e5a7
|
Split codegen properly
|
2023-08-02 18:37:31 +03:00 |
|
|
817b7c2096
|
Add Scope-struct
|
2023-08-02 18:29:20 +03:00 |
|
|
612b4d63a8
|
Reorganize code
|
2023-08-02 18:19:30 +03:00 |
|
|
297ff832b5
|
Remove comment
|
2023-08-02 17:03:21 +03:00 |
|
|
a196857dd6
|
Add simple codegen from actual AST
|
2023-08-02 17:03:06 +03:00 |
|
|
a9d5302774
|
Add blockexpr, possible paren to exp
|
2023-08-02 15:54:16 +03:00 |
|
|
9d7a63f25b
|
Make return special for block
|
2023-08-02 15:34:20 +03:00 |
|
|
dca604a038
|
Add preliminary codegen, update parsing to require functions
|
2023-08-02 15:31:33 +03:00 |
|
|
17ab6a0cea
|
Update gitignore
|
2023-08-02 01:03:19 +03:00 |
|
|
bda4fa4200
|
Move stuff around, add comment about compiling LLVM
|
2023-07-31 00:35:46 +03:00 |
|
|
42e74f49f8
|
Add function calls to parsing, also Top Level Expressions
|
2023-07-27 23:01:50 +03:00 |
|
|
ee14e18787
|
Add binop expression parsing
|
2023-07-27 22:25:13 +03:00 |
|
|
40f3738719
|
Add import statement parsing
|
2023-07-27 21:47:50 +03:00 |
|
|
6170eb0990
|
Add parser, token stream, successfully parse let statement
|
2023-07-27 21:17:44 +03:00 |
|
|
cca69976dd
|
Add simple tokenizer for easiest.reid
|
2023-07-27 17:40:12 +03:00 |
|