feat(lexer): add type system keywords

Added four keywords for new type system:
- concept: Base type definition
- sub_concept: Enum/record sub-type definition
- concept_comparison: Compile-time enum mapping
- any: Universal type for dynamic contexts

Also added:
- CLAUDE.md with project instructions and commit guidelines
- Test coverage for new keywords
- Crate-level deny directives for unused variables and dead code

Fixed pre-existing clippy issues to pass pre-commit hooks.
This commit is contained in:
2026-02-13 22:31:56 +00:00
parent 16deb5d237
commit f258a526e3
14 changed files with 151 additions and 74 deletions

View File

@@ -24,7 +24,7 @@ fn load_example(name: &str) -> Project {
assert!(path.exists(), "Example '{}' not found at {:?}", name, path);
Project::load(&path).expect(&format!("Failed to load example '{}'", name))
Project::load(&path).unwrap_or_else(|_| panic!("Failed to load example '{}'", name))
}
// ============================================================================