Skip to main content

Crate o2_rs

Crate o2_rs 

Source
Expand description

§O₂

o2 is a Rust port of the ORCΛ esoteric programming language and terminal livecoding environment.

This library exposes the core engine of o2, allowing other developers to:

§Architecture

The pipeline flows as follows:

Grid cells (Vec<char>)
    → core::vm::run()                    per operator per frame
    → core::app::EditorState::operate()  full-frame tick
    → core::io::MidiState::run()         flush MIDI / OSC / UDP
    → ui::render::draw()                 render to terminal

Modules§

core
Grid simulation engine, MIDI I/O, and operator dispatch.
editor
Cursor, history, commander, clock, and input handling.
ui
Terminal rendering and colour theme.