diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-02-05 12:58:02 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-02-05 13:03:36 +1300 |
commit | 80da2af821385b2fc89091e9ac37a047349da4bd (patch) | |
tree | 2ba50368301e041f8d1b99145ab0a1fe28f91571 /src/lib.rs | |
parent | 8d11be64f6c1747e7c4049105a6dd4ea9ab0d27f (diff) | |
download | assembler-80da2af821385b2fc89091e9ac37a047349da4bd.zip |
Implement source unit compilation, symbol resolution, error reporting
This library can now carry out all stages of assembly from collecting
source fragments to resolving symbols to pruning unused libraries to
generating a single compiled source file.
Pretty-printing of state has also been implemented in this library.
The source tree hierarchy, symbol resolution errors, and file read
errors can all be printed in a tidy format.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,5 +1,18 @@ -mod locators; -pub use locators::*; +#![feature(extract_if)] +#![feature(io_error_more)] +mod context; +mod errors; +mod locators; +mod resolver; +mod source_hierarchy; +mod source_unit; mod tokeniser; + +pub use context::*; +pub use errors::*; +pub use locators::*; +pub use resolver::*; +pub use source_hierarchy::*; +pub use source_unit::*; pub use tokeniser::*; |