Name Origin
Glyph (/ɡlɪf/) refers to the visual representation of a character - the elegant form that gives meaning to written symbols. In typography, calligraphy, and font design, glyphs are the carefully crafted shapes that transform abstract characters into beautiful, legible forms.
In the art world, a glyph:
- Shapes - Gives form to abstract symbols
- Beautifies - Makes text visually appealing
- Communicates - Ensures clarity and readability
Similarly, vize_glyph provides:
- Code formatting - Consistent indentation and spacing
- Readability - Clean, well-organized Vue SFC code
- Style enforcement - Uniform code appearance across projects
Status
This crate is currently a work in progress (WIP).
Planned Features
- Vue template formatting
- Script/TypeScript formatting
- CSS/SCSS/Less formatting
- Configurable style options
- Prettier-compatible output
Part of the Vize Art Collection
vize_glyph is part of the Vize compiler's art-themed crate collection:
| Crate | Art Term | Role |
|---|---|---|
| vize_carton | Carton (Portfolio Case) | Shared utilities & allocator |
| vize_atelier_core | - | AST & Parser (core) |
| vize_atelier_dom | Atelier (Workshop) | DOM compiler |
| vize_atelier_vapor | Atelier (Workshop) | Vapor compiler |
| vize_atelier_sfc | Atelier (Workshop) | SFC compiler |
| vize_vitrine | Vitrine (Display Case) | Bindings (Node.js/WASM) |
| vize_canon | Canon (Standard) | Type checker |
| vize_glyph | Glyph (Letterform) | Formatter (this crate) |
License
MIT License