> > I'd just like to amplify this mention of 3rd party tooling: if we go with
> > something which requires complex lexer/parser rules, then every editor,
> > IDE, and static analysis tool will need to also work with that syntax.
> Is this actually a problem? Don't these tools make use of existing
> parsers like 'php parser', thus the cost is lower than initially
I don't think you can generalise about "these tools" at all - for instance,
PHPStorm is written in Java, and VSCode is written in JS; I doubt they
share any parser components with each other, or with anything written in C
or PHP itself.
We're not just talking about existing tools, either, but every tool created
until the language dies.