Skip to main content

Crate reinhardt_manouche

Crate reinhardt_manouche 

Source
Expand description

Manouche DSL - front-end for the reinhardt-pages macro family.

This crate provides the Abstract Syntax Tree (AST) structures, parsing logic, and semantic validation for the page!, form!, and head! macros. Final code generation is performed by downstream consumers (e.g. reinhardt-pages/macros) directly from the Typed AST.

The name “manouche” comes from Manouche Jazz, a genre of music created by Django Reinhardt in the 1930s.

§Modules

  • core - DSL types, Untyped/Typed AST, reactive traits
  • parser - TokenStream -> Untyped AST
  • validator - Untyped AST -> Typed AST (semantic analysis)

§Pipeline

TokenStream -> parse -> Untyped AST -> validate -> Typed AST

Re-exports§

pub use core::*;

Modules§

core
Core DSL types, AST definitions, and reactive traits.
parser
Parsing logic for DSL macros.
validator
Semantic validation and type transformation.