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?
Is it possible to extend a predefined such as the html grammar?
I'm trying to parse this:
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?