No description
Find a file
Kirill Primak e1bb9980b8 Drop proxies
They add too much complexity for too little benefit. Turns out there's
something good about logic-less templates after all, and I am a fool to
notice it this late.

That was an interesting experiment though.
2026-03-04 19:43:22 +03:00
spec Add support for dynamic names 2026-02-24 20:12:07 +03:00
.editorconfig Initial commit 2026-02-23 21:10:43 +03:00
.gitignore Initial commit 2026-02-23 21:10:43 +03:00
.golangci.yml .golangci.yml: gosec: drop G602 exclusion 2026-02-24 22:04:15 +03:00
compile.go compile: don't use fallthrough 2026-02-24 23:24:59 +03:00
compile_test.go Initial commit 2026-02-23 21:10:43 +03:00
data_test.go Drop proxies 2026-03-04 19:43:22 +03:00
doc.go Drop proxies 2026-03-04 19:43:22 +03:00
errors.go parse: keep track of location and use it in errors 2026-02-24 22:12:27 +03:00
execute.go Drop proxies 2026-03-04 19:43:22 +03:00
go.mod Initial commit 2026-02-23 21:10:43 +03:00
go.sum Initial commit 2026-02-23 21:10:43 +03:00
LICENSE Initial commit 2026-02-23 21:10:43 +03:00
parse.go parse: disallow empty tags (again) 2026-02-24 22:13:52 +03:00
parse_test.go parse: keep track of location and use it in errors 2026-02-24 22:12:27 +03:00
README.md Drop proxies 2026-03-04 19:43:22 +03:00
spec_test.go template: rename constructor to New 2026-02-24 20:13:24 +03:00
template.go Drop proxies 2026-03-04 19:43:22 +03:00
truthy.go Overhaul name resolution and proxies 2026-03-04 11:25:02 +03:00

chevron

A Mustache 1.4.3+λ implementation in Go.

Documentation: https://pkg.go.dev/hazelnut.eclair.cafe/chevron

Discuss in #eclairs on Libera.Chat.

Features

chevron supports the following modules:

  • Comment
  • Delimiters
  • Interpolation
  • Inverted
  • Partials
  • Sections
  • Dynamic names (optional)

Inheritance and lambda modules are not supported as they are incompatible with chevron's template model.

Installation

go get hazelnut.eclair.cafe/chevron

License

BSD-2-Clause

See LICENSE for more information.