Skip to content

Index

Interpreter module for Kirin.

This module contains the interpreter framework for Kirin. The interpreter framework is used to implement concrete and abstract interpreters for the IR. The interpreter framework provides a set of classes and interfaces to implement interpreters for the IR.

The interpreter framework is designed to be extensible and customizable. It provides a set of base classes and interfaces for implementing concrete and abstract interpreters:

  • BaseInterpreter: Base class for implementing concrete interpreters.
  • AbstractInterpreter: Base class for implementing abstract interpreters.
  • Frame: Base class for interpreter frame.
  • MethodTable: Method table for registering implementations of statements.