wip tree-sitter

This commit is contained in:
2025-09-21 00:49:43 +02:00
parent f4b6589b1a
commit b4b6edd2f2
39 changed files with 13104 additions and 1 deletions

7
tree-sitter/example.crr Normal file
View File

@@ -0,0 +1,7 @@
type t List = 'EOL | 'Cons {head: t, tail: t List}
type List2 = with t: 'EOL | 'Cons {head: t, tail: t List}
type List3 = with t: &a 'EOL | 'Cons {head: t, tail: a}
type List4 = with t: &a 'EOL Unit | 'Cons {head: t, tail: a}