Extending a predefined grammar.
s0kil opened this issue · 1 comments
s0kil commented
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?
marijnh commented
This isn't possible yet. I do have plans to add support for this but there's no concrete timeline.