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
A bug was introduced with last commit. User input was not wiped between
two call to `read_line` in `main`. As such, everything the user entered
was re-evaluated on each return keypress.
This commit clears the content of user input between two `read_line`
calls.
`identifier_parser` was also refactored. This allows us to skip one
`format!` call and many clones, making the function execution faster.
Its content was also split, resulting in the creation of `first_char`,
`cons_str`, `is_identifier_char` and `is_non_numeric_identifier_char`.
Next commits will focus on refactoring further the content of
`reader.rs`.
0 commit comments