Commit graph

59 commits

Author SHA1 Message Date
b7108770b9 clippy 2023-05-28 19:02:20 +02:00
2b39ddebb2 add support for - input 2023-05-28 18:59:27 +02:00
d0be270de2 first working code
```
int main() {
    long a = 0;
}
```

codegens correctly.
2023-05-28 18:52:51 +02:00
ebe01c7521 so yeah that was a bunch of code 2023-05-27 22:30:09 +02:00
3a282ffb89 flakes 2023-05-27 17:46:52 +02:00
dba217c18e tuple it up 2023-05-23 21:19:08 +02:00
05c617f6de coerce 2023-05-23 21:16:49 +02:00
54226ad499 c what is this 2023-05-23 20:42:51 +02:00
86b924f5e3 more 2023-05-23 17:09:08 +02:00
542c0daf6a param 2023-05-23 16:33:10 +02:00
c84fdfaf3a more stuff 2023-05-23 15:40:07 +02:00
77e18126e7 intern 2023-05-23 13:21:56 +02:00
8bf9849641 more lowering 2023-05-22 22:14:53 +02:00
b9a2f939c4 a bunch of stuff mostly 2023-05-22 20:44:18 +02:00
56e7f77a0d stable 2023-05-22 18:53:42 +02:00
683f11c997 things 2022-07-24 18:38:19 +02:00
475a520de3 analysis 2022-07-24 18:22:52 +02:00
b74c11987b move function 2022-07-18 17:47:57 +02:00
a0e33835ed add file resolver 2022-07-18 16:17:57 +02:00
cfb6ef500a create preprocessor 2022-07-18 16:13:21 +02:00
92292c756c crates 2022-07-08 22:33:32 +02:00
f229dd7fdc parse hello world 2022-07-08 22:15:29 +02:00
727cfc692c parse decl statements 2022-07-07 21:23:53 +02:00
8093f87fc3 funny ints 2022-07-05 22:08:48 +02:00
c519241bd4 fix ints in ast 2022-07-05 20:34:19 +02:00
fb1ce74e08 add stmt to ast 2022-07-05 20:25:58 +02:00
30da01fc05 more power 2022-07-02 23:25:45 +02:00
c4f3e3dc93 pretty test 2022-07-02 22:43:01 +02:00
909c3e9326 fix pretty 2022-07-02 22:41:42 +02:00
68258a9a95 start pretty printer 2022-07-02 22:22:32 +02:00
d90e21e06c some more binops 2022-07-02 21:20:46 +02:00
94229110cc array indexing and a bunch of other stuff 2022-06-26 15:44:39 +02:00
e7597dab07 use dbg-pls for parser snapshot tests 2022-06-26 15:20:20 +02:00
31575cbdfb add works 2022-06-26 15:14:30 +02:00
37772658bd fix plus 2022-06-26 13:06:30 +02:00
dc200d2046 haha clippy 2022-06-26 12:03:25 +02:00
91f4b397a2 pretty arrow 2022-06-26 12:00:30 +02:00
56974cf077 a little bit of expr parsing 2022-06-26 00:12:27 +02:00
bf2ea3f7f4 pretty colors 2022-06-25 22:56:58 +02:00
79ab4bbb75 some stuff works 2022-06-25 22:34:07 +02:00
4b646b9128 can parse global variable declarations 2022-06-25 19:09:27 +02:00
f53c054a9a still works 2022-06-25 18:59:23 +02:00
955effd621 direct declarator 2022-06-25 18:12:57 +02:00
908c5c7615 i declare victory (not) 2022-06-25 17:49:14 +02:00
2fa0615ee5 some things! progress! and suffering! 2022-06-22 21:33:43 +02:00
2ce2edfc64 more parsing 2022-06-21 22:09:02 +02:00
5cf64dfc55 parse some things 2022-06-21 21:51:26 +02:00
eb68c2b207 lmao what 2022-06-21 19:56:57 +02:00
2e5dfb24e2 lexer tokens 2022-06-21 19:23:03 +02:00
aa8f6a91b2 normal tokens 2022-06-21 14:08:00 +02:00