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 ?

1 comment
Comment actions Permalink

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.