lucia-lang 0.2.0

Lucia programming language
Documentation
//! Lucia Language Compiler and VM.
//!
//! ```txt
//!        +-------+             +--------+          +----------+
//! str -> | lexer | - Tokens -> | parser | - AST -> | analyzer |
//!        +-------+             +--------+          +----------+
//!                                                        |
//!             +----- AST with semantic information ------+
//!             |
//!             v
//!        +---------+           +-----------------------+
//!        | codegen | - Code -> | Lucia Virtual Machine |
//!        +---------+           +-----------------------+
//! ```
//!
//! # Examples
//!
//! ```rust
//! use lucia_lang::{compiler::code::Code, Lucia};
//! let input = r#"
//! import std::io::{println}
//! println("Hello World!")
//! "#;
//! let code = Code::try_from(input).unwrap();
//! let mut lucia = Lucia::new();
//! lucia.run_code(code);
//! ```

pub mod compiler;
pub mod context;
pub mod errors;
pub mod frame;
pub mod libs;
pub mod meta_ops;
pub mod objects;
mod utils;
mod vm;

pub use context::*;