/ocaml-pug

Pug(lite) parser & compiler in OCaml

Primary LanguageOCamlGNU Affero General Public License v3.0AGPL-3.0

OCaml-Pug

OCaml-Pug is a parser/compiler for a pug-like language in pure OCaml

Essentially, no need to run node or any other JS shenanigans, while still being able to quickly prototype HTML.

Examples:

html
  body
    h1 Title

becomes:

<html>
  <body>
    <h1>Title</h1>
  </body>
</html>