Skip to content

[FYP/CP3106/CP3108] Directly interpret Python AST in CSE machine #51

@WangYuyang1013

Description

@WangYuyang1013

This issue proposes removing the current translation layer and instead directly interpreting the Python AST in the CSE machine.
Currently, the interpreter converts Python AST into an intermediate format, JavaScript AST, before evaluation. While functional, this adds an extra translation step that could be avoided by interpreting the AST directly.
Interpreting the AST directly can reduces complexity and make the CSE machine more efficiant. Could also more closely reflects how a real Python interpreter behaves and could improve performance and maintainability

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions