eclipse-langium / langium

Next-gen language engineering / DSL framework
https://langium.org/
MIT License
725 stars 65 forks source link

Remove explicit EOF token from token builder #1276

Closed msujew closed 11 months ago

msujew commented 11 months ago

Chevrotain actually doesn't require to put the EOF token in the lexer definition. The EOF token is always implicitly part of the token stream.

Instead, having it in there might lead to issues instead. See also https://github.com/eclipse-langium/langium/discussions/1048#discussioncomment-7503713.