clipasm 0.3.2

A strict, typed language for compiling and rendering Video and Audio graphs
Documentation
#![deny(rustdoc::broken_intra_doc_links)]

//! Embed the `ClipAsm` typed Video and Audio compiler and renderer.
//!
//! `ClipAsm` separates authoring from execution. Parse a native `.clipasm`
//! [`source::SourcePackage`] through [`language`],
//! compile it into a pure [`compiler::CompiledProgram`], resolve media and
//! tools into a [`preflight::PreparedPlan`], then execute that plan with
//! [`render::render`].
//!
//! Compilation performs no media or external-tool I/O. [`preflight::preflight`]
//! is the first phase allowed to inspect assets, `FFmpeg`, or `FFprobe`.
//!
//! # Example
//!
//! ```no_run
//! use std::path::Path;
//!
//! let program = clipasm::language::parse_file(Path::new("program.clipasm"))?;
//! let compiled = clipasm::compiler::compile(&program)?;
//! let prepared = clipasm::preflight::preflight(&compiled)?;
//! let report = clipasm::render::render(&prepared)?;
//! println!("{}", report.output.display());
//! # Ok::<(), clipasm::diagnostic::Diagnostic>(())
//! ```
//!
//! The native language, programs, and stack behavior are
//! documented in the project guide rather than duplicated in this Rust API
//! reference.

pub mod compiler;
pub(crate) mod contracts;
pub mod diagnostic;
pub(crate) mod external;
pub(crate) mod format;
pub mod language;
pub(crate) mod media_tool;
pub mod model;
pub mod preflight;
pub(crate) mod program;
pub mod reference;
pub mod render;
pub(crate) mod semantic;
pub mod source;