conlang: Update type checker

- cl-typeck: Add modules, intrinsic types, unify definition ids
- cl-ast: make attribute lists `Default`
- cl-structures: Add functions to iterate through a pool
- cl-repl: Create an example REPL for the type checker
This commit is contained in:
2024-04-01 05:14:06 -05:00
parent 614d20ea2c
commit 4a52d2bc6a
5 changed files with 862 additions and 75 deletions

View File

@@ -37,7 +37,7 @@ pub struct File {
}
// Metadata decorators
#[derive(Clone, Debug, PartialEq, Eq)]
#[derive(Clone, Debug, Default, PartialEq, Eq)]
pub struct Attrs {
pub meta: Vec<Meta>,
}