This crate contains the fundamental utilities used to by the rest of the moore compiler.
Multi-type arena allocation
Utilities to implement diagnostics and error reporting facilities.
This module provides an abstraction similar to iterators. Elements are produced in one direction, while errors bubble backwards until they are vented. This allows for complex transformation chains such as lexical analyzers and parsers to be constructed, where errors, warnings, or notices might be emitted without disturbing the transformation.
A name table that internalizes all names presented to it and allows for them to be referred to by a lightweight tag. This structure is heavily inspired by the interner used in the Rust compiler.
This module implements the scoreboard building blocks. Scoreboards are the driving mechanism behind moore. They keep track of the results of each compilation step for every node in the graph. Each node can be accessed in a type safe manner by its ID.
A global source file table that assigns an opaque ID to each processed source file. This helps keeping the source location lean and allow for simple querying of information.
A collection of utility traits and functions specific to VHDL.
Print debug information. Omitted in release builds.
Generate a collection of arenas for different types.
Create a new node reference.
Create a new group of node references.
Create a new table that implements the
A set of options for a session.
A set of verbosity options for a session.
Access session options and emit diagnostics.