factorio-frontend 0.1.1

Rust frontend that lowers Factorio mod sources into factorio-ir
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Parse a small subset of Rust source code into [`factorio_ir`].

mod discovery;
mod error;
mod lower;
mod paths;

pub use discovery::{DiscoveredModule, discover_modules};
pub use error::{FrontendError, FrontendResult};
pub use lower::{
    parse_discovered_module, parse_discovered_module_with_prefix, parse_module,
    parse_module_with_prefix,
};
pub use paths::{lua_output_path, module_name_from_source, require_local_name};