Grammer Live Preview with tokens defined separately in *.flex not possible ?

Answered

Live previewing with tokens defined in a *.flex doesn't seem to work (keywords etc. not recognized, although the lexer has been generated in the project's sources!)
Is it true that all tokens must be defined inside the *.bnf grammar in order for the Live Preview to work ?

0
1 comment

Hi Jörg,

Yes, in order to use LivePreview, you need the tokens list in the BNF file.

Also, see: https://github.com/JetBrains/Grammar-Kit/issues/44

0

Please sign in to leave a comment.