Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous approach was to re-implement Interpreter.parse() to iterate over cached tokens where possible. This proved to be a problem when the implementation changed in EmPy 4.x. The approach implemented here is to create a shim between the Interpreter and Scanner API and record/inject the tokens there, which improves the compatibility by working only at the API boundary and not duplicating chunks of the upstream implementation. Co-authored-by: Chris Lalancette <clalancette@gmail.com>
- Loading branch information