This website requires JavaScript.
Explore
Help
Sign In
zig
/
pugz
Watch
1
Star
0
Fork
0
You've already forked pugz
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
c0bbee089f582ace4a24e40480151bebf2590868
pugz
/
examples
/
demo
/
views
/
pet.pug
2 lines
11 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-17 18:32:29 +05:30
p= petName
Reference in New Issue
Copy Permalink