Minimal Tcl DSL interpreter in Python
- Variable expansion.
- Recursive expressions.
- expr
- lists
- arrays
- conditionals (and thus expr)
- Save state to file.
- Save tokenised script to file.
- Count cost of calls and optionally limit.
- Track and optionally limit memory used.
- Virtual file system including stdio.
- Exceptions with script line number and position.
- Importable libraries.
- Command class
- Help function.
- Get number of expected args and maybe type.
https://python-packaging.readthedocs.io/en/latest/minimal.html https://craftinginterpreters.com/