2. A Tree-Python InterpreterΒΆ
- 2.1. Some Help from the Reference Interpreter
- 2.2. An Interpreter in Java for the Python AST
- 2.3. Type and Operation Dispatch
- 2.3.1. Operation Dispatch in CPython
- 2.3.2. Operation Dispatch in Jython 2.7.1
- 2.3.3. A Java Object Approach
- 2.3.4. Dispatch via overloading in Java
- 2.3.5. Dispatch via a Java
MethodHandle
- 2.3.6. Caching Type Decisions
- 2.3.7. Extension to Unary Operators
- 2.3.8. Dispatch with Multiple Implementations
- 2.3.9. Progress so far
- 2.4. Simple Statements and Assignment