Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Extending a predefined grammar. #4

Description

@s0kil

Is it possible to extend a predefined such as the html grammar?

I'm trying to parse this:

fun render : Html {
  <div>
    <{ "Hello" }>
  </div>
}

The function allows html inside the block, and inside the html, it also allows <{ getSomeText() }> referencing language specific variables, literals, etc. Could you point me towards parsing the <{ }> part?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions