Skip to content

Implement interpreter in Rust #867

@starpit

Description

@starpit

Is your feature request related to a problem? Please describe.
Ability to run in browser, and other non-python-friendly environments. Improve startup time. Establish a common ground across the many agent libraries, by providing a common AST+interpreter+toolchain.

Describe the solution you'd like
By implementing the interpreter in Rust, we achieve many of these goals. For example, Rust has a direct path to WASM, which enables running at least partially in a serverless web app. It also allows PDL to be embedded into other python projects while avoiding python versioning issues.

Describe alternatives you've considered
We could instead have implemented a set of interpreters, e.g. one in python, one in typescript, ...

Punch List

We have already merged (via #857) some initial work on this. Remaining work is summarized below.

Orthogonal Features

Blocks

TO BE DEPRECATED

  • GetBlock

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions