ternlang_core/lib.rs
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Ternlang — RFI-IRFOS Ternary Intelligence Stack
3// Copyright (C) 2026 RFI-IRFOS
4// Open-core compiler. See LICENSE-LGPL in the repository root.
5
6pub mod trit;
7pub mod types;
8pub mod vm;
9pub mod lexer;
10pub mod ast;
11pub mod parser;
12pub mod semantic;
13pub mod codegen;
14pub mod stdlib;
15pub mod wasm_simd;
16
17pub use trit::Trit;
18pub use vm::bet::{pack_trits, unpack_trits, BetFault};
19pub use lexer::Token;
20pub use ast::*;
21pub use parser::Parser;
22pub use semantic::SemanticAnalyzer;
23pub use codegen::betbc::BytecodeEmitter;
24pub use vm::BetVm;
25pub use stdlib::{StdlibLoader, ModuleResolver};