grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

[new grammer] add Tsx grammer

Open HanzoDev1375 opened this issue 5 months ago • 2 comments

HanzoDev1375 avatar Jul 06 '25 10:07 HanzoDev1375

I assume you are referring to parsing .tsx files and JSX.

  • https://facebook.github.io/jsx/
  • https://www.typescriptlang.org/docs/handbook/jsx.html.

Antlr4 does not have a good way to compose grammars, so this may be hard to implement.

kaby76 avatar Jul 07 '25 10:07 kaby76

I assume you are referring to parsing .tsx files and JSX.

  • https://facebook.github.io/jsx/
  • https://www.typescriptlang.org/docs/handbook/jsx.html.

Antlr4 does not have a good way to compose grammars, so this may be hard to implement.

Is there no solution? After all, you are a master in this field.

HanzoDev1375 avatar Jul 08 '25 15:07 HanzoDev1375