tramaj-hs: Haskell parser/AST/evaluator for the tramaj language

[ library, mit, text ] [ Propose Tags ] [ Report a vulnerability ]

Parser, AST and evaluator for the tramaj language specified in specs/reference.md at the root of this repository -- a small HAML-like template language with a bindings prelude, closures, and map/filter/scan, designed to be written by humans and LLMs and rendered against a JSON context. . This is an independent Haskell port of the PureScript implementation under ../tramaj, built on megaparsec + aeson rather than shared via FFI, so a host can evaluate a template server-side and not only in the browser. Both implementations target the same grammar and are kept in agreement by hand-ported test fixtures; see the repository README for the caveats that come with that.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.3.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.1 && <2.4), base (>=4.19 && <4.22), containers (>=0.6 && <0.9), megaparsec (>=9.5 && <9.9), scientific (>=0.3 && <0.4), text (>=2.0 && <2.2), vector (>=0.13 && <0.14) [details]
License MIT
Author Lucas DiCioccio
Maintainer lucas.dicioccio@gmail.com
Uploaded by LucasDiCioccio at 2026-10-01T06:32:40Z
Category Text
Home page https://github.com/lucasdicioccio/templating-lang
Bug tracker https://github.com/lucasdicioccio/templating-lang/issues
Source repo head: git clone https://github.com/lucasdicioccio/templating-lang.git(tramaj-hs)
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-10-01 [all 1 reports]