| Crates.io | vize_armature |
| lib.rs | vize_armature |
| version | 0.0.1-alpha.31 |
| created_at | 2026-01-11 14:48:48.252995+00 |
| updated_at | 2026-01-12 12:38:49.431736+00 |
| description | Armature - The structural parser framework for Vize Vue templates |
| homepage | |
| repository | https://github.com/ubugeeei/vize |
| max_upload_size | |
| id | 2035922 |
| size | 74,433 |
Armature - The structural parser framework for Vize Vue templates.
Armature (/ˈɑːrmətʃər/) is the internal skeleton or framework that supports a sculpture during its creation. Just as an armature provides the structural foundation that a sculptor builds upon, vize_armature provides the parsing framework that analyzes and structures Vue templates.
The armature is the invisible but essential structure that gives shape to the final work - similarly, this crate provides the parsing infrastructure that extracts structure from raw template text.
v-if, v-for, v-bind, v-on, etc.){{ expression }})v-bind:[key])@click.stop.prevent)vize_carton - Core types and arena allocatorvize_relief - AST definitions, errors, and optionsuse vize_armature::{parse, parse_with_options, ParserOptions};
use vize_carton::Bump;
// Simple parsing
let allocator = Bump::new();
let source = "<div>{{ message }}</div>";
let (ast, errors) = parse(&allocator, source);
// Parsing with options
let options = ParserOptions::default();
let (ast, errors) = parse_with_options(&allocator, source, options);
vize_armature
├── tokenizer.rs # State machine tokenizer
└── parser.rs # AST builder using tokenizer callbacks
The parser uses a callback-based design where the tokenizer emits events that the parser handles to build the AST.
MIT