Simple Lexer used to convert a source code file into tokens Currently using Javascript as an example language (language definition is in lang.py)
Usage: python pyscanner.py path/to/file
- Encapsulate into a function or class
- Return (lexem, token) list
- Load language lexic from a text file
- Documentation