forked from Orchid/orchid
Added a very rudimentary file I/O system suitable for experimenting with the language further. A better one will be designed when we have sensible error management.
12 lines
279 B
Rust
12 lines
279 B
Rust
//! A type-agnostic interner
|
|
//!
|
|
//! Can be used to deduplicate various structures for fast equality comparisons.
|
|
//! The parser uses it to intern strings.
|
|
mod monotype;
|
|
mod multitype;
|
|
mod token;
|
|
|
|
pub use monotype::TypedInterner;
|
|
pub use multitype::Interner;
|
|
pub use token::Tok;
|