Closed soft-decay closed 3 years ago
Have a nice day @soft-decay! I add more changes to this PR and now it can be merge-ready. Can you also review changes and if you happy with it too, like me, you can uncheck WIP status and I merge it
Yes everything seems good. I think it's ready for merging.
@soft-decay good job, thaks a lot!
The parser has been split into two sub-parsers:
ScriptParser
parses:TemplateParser
parses the template (previously named markup)ScriptParser
when it finds a javascript expression. This way, theidentifiers
anddispatchers
of the top level scripts are shared with the template javascript expression.Both sub-parsers emit events that are caught by the main Parser:
TemplateParser
)