hexicon-compiler 0.2.0

The Hexicon compiler: source text to a program image
Documentation
//! The Hexicon compiler.
//!
//! [`compile_program`] turns the source files of a program into a
//! program image, and [`compile`] does the same for a program that is
//! one file. The preprocessor ([`pp`]) can also be used on its own.
//! [`read_project`] reads what to build from the command line of
//! `hexicon build` and the manifests (`hexicon.toml`) it names.
//!
//! The compiler has no access to files, to a clock, or to a console of
//! its own; whoever uses it supplies the files through
//! [`pp::SourceFiles`] and decides what to do with what comes out.

mod ast;
pub mod builtin;
mod codegen;
mod compile;
mod docs;
pub mod dynamic;
mod emit;
pub mod english;
mod flow;
mod fold;
pub mod ifid;
mod image;
mod lex;
mod link;
mod manifest;
mod names;
mod parse;
pub mod pp;
mod project;
mod tags;
mod wording;

pub use compile::{
    CompileOptions, Compiled, RuntimeSymbol, RuntimeValue, Shown, compile, compile_and_document,
    compile_program, shown, with_preprocessor,
};
pub use docs::{
    DocEnum, DocFile, DocFunction, DocMacro, DocMember, DocMessage, DocObject, DocPlace,
    DocTemplate, DocUse, DocVerb, Documented, document,
};
pub use lex::Tok;
pub use manifest::MANIFEST;
pub use project::{
    DirEntry, Project, ProjectError, ProjectPaths, Resource, ResourceSpec, expand_resources,
    read_project,
};

#[cfg(test)]
mod tests;