You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the diagram, after the state zero, all the other states are already valid states without a second char, excpet state two, which is represented by "!", it needs to be followed by a "=" like "!=" to be a valid token. it must be decided if the lexer.kt will reset the automaton or the automaton itself will do this job, and so implements and use the operator lookahead to test if after a "invalid" char "!" we can get a valid token "!=" by looking the following char.
The text was updated successfully, but these errors were encountered:
In the diagram, after the state zero, all the other states are already valid states without a second char, excpet state two, which is represented by "!", it needs to be followed by a "=" like "!=" to be a valid token. it must be decided if the lexer.kt will reset the automaton or the automaton itself will do this job, and so implements and use the operator lookahead to test if after a "invalid" char "!" we can get a valid token "!=" by looking the following char.
The text was updated successfully, but these errors were encountered: