1#![doc = include_str!("../README.md")]
2#![deny(missing_docs)]
3#![expect(clippy::allow_attributes_without_reason, reason = "crate not migrated")]
4
5macro_rules! declare_id {
6 (
7 $(#[$attr:meta])*
8 $name:ident
9 ) => {
10 $(#[$attr])*
11 #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
12 pub struct $name(pub usize);
13 impl $name {
14 pub fn index(self) -> usize {
16 self.0
17 }
18 }
19 };
20}
21
22pub mod ast;
23pub mod codegen;
24pub mod compile;
25pub mod disjointsets;
26pub mod error;
27pub mod files;
28pub mod lexer;
29mod log;
30pub mod overlap;
31pub mod parser;
32pub mod sema;
33pub mod serialize;
34pub mod stablemapset;
35pub mod trie_again;