I created the Scanner. It is a bit of a mess so will need tidying up in the future. The base understanding of the code comes from https://craftinginterpreters.com/scanning.html. My main code uses rusts iterator however during clean up i will either change it to use a list with iterator like helper functions, or pass the iterator around functions.
I created the Scanner. It is a bit of a mess so will need tidying up in the future. The base understanding of the code comes from https://craftinginterpreters.com/scanning.html. My main code uses rusts iterator however during clean up i will either change it to use a list with iterator like helper functions, or pass the iterator around functions.