13 lines
345 B
Rust
13 lines
345 B
Rust
pub static RUNTIME: &str = include_str!("../runtime/runtime.lua");
|
|
pub static NUMERIC: &str = if cfg!(feature = "vector") {
|
|
include_str!("../runtime/numeric_v3.lua")
|
|
} else {
|
|
include_str!("../runtime/numeric_tb.lua")
|
|
};
|
|
|
|
pub use translator::{from_inst_list, from_module_typed, from_module_untyped};
|
|
|
|
mod analyzer;
|
|
mod backend;
|
|
mod translator;
|