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
The automatons should have a function to return a token when asked if it is in a valid state to generate the token. This will remove a lot of "if" code from the lexer, which should not be doing these tests.
A Token class should be created.
The text was updated successfully, but these errors were encountered:
…necessary [issue #3] | fix problem with three or more relation operators in sequence, the automaton just puts as invalid lexeme when the string recieved has length of 3 or more [issue #4] | refractor automaton code to be more understandable and use strings instead of char when is possible, making a short readable code [issue #5]
The automatons should have a function to return a token when asked if it is in a valid state to generate the token. This will remove a lot of "if" code from the lexer, which should not be doing these tests.
A Token class should be created.
The text was updated successfully, but these errors were encountered: