Commit Graph

3 Commits

Author SHA1 Message Date
a65f01fdd0 Remove main.zig CLI executable
Library-only project - examples are in src/examples/
2026-01-18 00:05:16 +05:30
6ab3f14897 Initial commit: Pugz - Pug-like HTML template engine in Zig
Features:
- Lexer with indentation tracking and raw text block support
- Parser producing AST from token stream
- Runtime with variable interpolation, conditionals, loops
- Mixin support (params, defaults, rest args, block content, attributes)
- Template inheritance (extends/block/append/prepend)
- Plain text (piped, dot blocks, literal HTML)
- Tag interpolation (#[tag text])
- Block expansion with colon
- Self-closing tags (void elements + explicit /)
- Case/when statements
- Comments (rendered and silent)

All 113 tests passing.
2026-01-18 00:05:16 +05:30
Ankit Patial
71f4ec4ffc Initial commit 2026-01-17 20:07:55 +05:30