related to a train?
It's kind of anchor of grammar rule
Terminals are where you stop parsing/building structure and get actual data.
Like : It's -> it is ?
Don't think I understand..but lexical are just to define the grammar?
I mean that "terminals" connect or bind your grammar to actual text
Terminal is a thing a lexer produce. It's a "word" but in more general sense. It is the thing you want to assume atomic it parsing phase, like a name, a string literal or a (
In terms of some natural language like Russian or English "terminal" is a "word" when non-terminals are syntax rules the language based on
Обсуждают сегодня