Skip to content

support for syntax plugins? #11165

@NullVoxPopuli

Description

@NullVoxPopuli

Describe the feature

As a test, the jsx stuff should be extracted to a syntax plugin since it's not JavaScript anyway (treesitter, for example, is clear about ecmascript being different from jsx (in highlighting queries anyway)).

This would make way for certain frontend frameworks to implement their own plugins (svelte, ember, angular, etc) for improved performance in these ecosystems with potentially multi-language ASTs.

Babel plugin or link to the feature description

no ecosystem is doing this yet

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions