Commit graph

125 commits

Author SHA1 Message Date
janis 45cc444221
constants parsing 2025-10-01 17:56:02 +02:00
janis c270fe5add
comments and docs as ast nodes 2025-10-01 00:31:08 +02:00
janis 45ba06db43
use pomelo for parsing 2025-10-01 00:24:46 +02:00
janis 816aebda01
try out pomelo parser 2025-09-30 17:29:38 +02:00
janis 357590ec07
more useless token stuff that I didn't really want anyway 2025-09-30 16:44:42 +02:00
janis df2bb54272
parser crate 2025-09-29 15:56:13 +02:00
janis ae0fb53b90
stuff.. 2025-09-29 15:56:05 +02:00
janis 260150de15
more iterator stuff 2025-09-27 22:16:04 +02:00
janis 2790bc561f
more refactoring 2025-09-27 18:20:52 +02:00
janis 6e0fed0962
raw identifiers, comment out -- and ++ tokens 2025-09-27 17:07:50 +02:00
janis 122f8ff7f1
compiler wranings 2025-09-26 14:58:39 +02:00
janis 2e6b8b0cc3
add integer types 2025-09-26 14:52:53 +02:00
janis 2293b514cf
idk man.. 2025-09-19 20:12:21 +02:00
janis 82d2eed09a
lexer crate 2025-09-19 20:12:13 +02:00
janis fafd4011e2
token iterator based on trie 2025-09-19 14:46:48 +02:00
janis 47e671f827
update flake 2025-09-19 14:46:42 +02:00
janis 21939cabe3
fix workspace dependency on trie 2025-09-19 14:46:34 +02:00
janis f65aa8d921
-- and ++ tokens 2025-09-19 13:47:49 +02:00
janis 735b60f3cb
add trie dependency 2025-09-19 13:47:32 +02:00
Janis 0384a98d86 chore(deps): update flake.lock to rustc 1.91.0-nightly 25-08-06 2025-08-08 00:34:47 +02:00
Janis 3bbf9d67ec tree lexer 2025-08-07 03:21:27 +02:00
Janis bc0acf7e19 lexer crate 2025-08-07 02:00:44 +02:00
Janis 0fa3200b85 ignore .direnv folder 2025-08-06 22:27:09 +02:00
Janis 76e50085a0 idk man, intern stuff innit 2025-08-06 22:27:00 +02:00
Janis d124ae2b59 nix flake/direnv 2025-08-02 21:25:04 +02:00
Janis adfc2c27f8 top and bottom types 2025-07-14 18:10:52 +02:00
Janis bbaa9cb671 update to edition 2024 and 1.90-nightly 2025-07-14 17:52:03 +02:00
Janis aeab786fe3 todo: typechecking, then ensure placeness and IR still work as expected 2025-03-08 12:22:53 +01:00
Janis 4c7813aa98 aaaaaaaaaaaaaaaa 2025-03-06 23:46:45 +01:00
Janis 1bde8f3ccd new trait for ast for getting nice nodes 2025-03-06 22:36:53 +01:00
Janis 486a634ea1 more fixes 2025-03-06 18:40:17 +01:00
Janis 8b3789d7b0 placeness solver on ast after parsing 2025-03-06 15:41:34 +01:00
Janis d6450b5f32 using the new visitor for debug rendering 2025-03-06 12:41:39 +01:00
Janis f30b7827b8 pulled out modules into separate files 2025-03-06 02:28:02 +01:00
Janis 6cc1822ec6 trying to fix declrefs to params being places 2025-03-06 02:18:46 +01:00
Janis 8c95a2ba3d single-threaded interior mutably wrapper for internpool 2025-03-06 02:18:15 +01:00
Janis f5fc8195f4 fix, lint 2025-03-06 01:12:25 +01:00
Janis 1be3f29e23 place-value stuff should work now 2025-03-06 01:02:35 +01:00
Janis 6d70231c91 this should be correct? 2025-03-05 22:21:36 +01:00
Janis 51aa119af2 i dont think this is the right way to do this, in hindsight 2025-03-05 15:49:19 +01:00
Janis 028c74753e place and value expression conversion in ast 2025-03-05 15:48:46 +01:00
Janis 1a20acd763 ast visiting for IR building 2025-03-04 18:58:55 +01:00
Janis 379769bc59 split ast tag arrays 2025-03-01 19:22:31 +01:00
Janis 43c828d96f irgen of ast2 2024-12-29 19:57:29 +01:00
Janis f6b956deee normalising BlockTrailingExpr where it returns into Block with a Ret expr 2024-12-27 03:49:50 +01:00
Janis e002a6ddc9 small fixes/visiter pattern/pub visibility 2024-12-27 03:49:25 +01:00
Janis 1b5cc3302b rename ast_visitor module to visitor 2024-12-26 01:03:30 +01:00
Janis f6fc83ce02 using visitor for rendering ast 2024-12-26 01:02:40 +01:00
Janis 4e59e02178 visitor pattern for ast 2024-12-26 00:40:11 +01:00
Janis 13df06421c intern struct type the first time it is defined
at that point the fields might not yet have proper types
2024-12-25 20:37:35 +01:00