Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse.org-architecture-council] Javascript: a bug that makes me really sad....

> On 06 Jul 2015, at 18:45, Michael Scharf <eclipse@xxxxxxxxx> wrote:
> - Xtext https://eclipse.org/Xtext/ (which is extreme, because it generates a *DK for
>  each language)

Allow me to comment on this :-)
Xtext doesn’t generate an SDK or similar but it generates a parser and an AST.
Having a common notion of what ASTs look like is key to let languages integrate with each other and is also the basis
for many services that are offered by Xtext and which are important for advanced language-specific tool support.
If you just want lexical coloring, and maybe run an external linter than you don’t need anything like that. But if you expect content assist, incremental
 builds and refactoring (even cross-language) than this is not going to happen without something like that.
Note that IntellIj has its common notion of ASTs (called PSI) as well, so in that regard it is similar to Xtext.

Sven

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Back to the top