b079bbffff
fix: escape quotes in backtick strings and merge duplicate class attributes
...
- HTML-escape double quotes as " in backtick template literals for valid attribute values
- Merge shorthand classes (.alert) with class attribute values instead of emitting duplicates
- Handle string concatenation expressions in class attributes (e.g., class="btn btn-" + type)
2026-01-23 11:50:18 +05:30
654b45ee10
Compiled temapltes.
...
Benchmark cleanup
2026-01-22 11:10:47 +05:30
714db30a8c
Add documentation and interpreted benchmark
...
- Add docs/syntax.md: complete template syntax reference
- Add docs/api.md: detailed API documentation
- Add src/benchmarks/bench_interpreted.zig: runtime benchmark
- Update build.zig: add bench-interpreted step
- Update README.md: simplified with docs links and benchmark table
2026-01-22 11:08:52 +05:30
510dcfbb03
bench data
2026-01-21 23:41:36 +05:30
fe62677a93
Rename test-bench to bench-2, update README with benchmark docs
2026-01-18 00:51:31 +05:30
458de03c02
Add README and simplify ViewEngine API
...
- ViewEngine.init() no longer requires allocator
- render() and renderTpl() accept allocator parameter
- Remove deinit() - no resources to clean up
- Remove unused parse/renderDoc methods
- Add memory management guidance to runtime.zig
- Clean up unused imports and options
2026-01-18 00:05:16 +05:30