Skip to content

Moving away from mustache #95

@Zimmi48

Description

@Zimmi48

Mustache is a pretty limited template language. In particular with respect to conditionals. Here are some options for moving away from it:

  • Use Ruby. I don't know this language yet but I heard it's pretty well suited for advanced templating (in particular with ERB IIUC).

  • Parse the meta.yml file and generate everything in OCaml. IINM, there doesn't exist a YAML parser in OCaml but there is a new parser for a variant of it which is probably very suitable for what we do with this language: https://github.com/chetmurthy/yay

EDIT: this project is what we call "templates v2" and it's most up-to-date description is here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions