Skip to content
This repository was archived by the owner on May 31, 2020. It is now read-only.
This repository was archived by the owner on May 31, 2020. It is now read-only.

Compiling a module to bytecode in the build process #759

@lielfr

Description

@lielfr

Hi.
So, I'm trying to implement the exec builtin. As you may know, it requires the ability to execute python code directly from batavia, which AFAIK is not possible because CPython is required for compiling into bytecode.
The two possibilites I though about are implementing a compiler in javascript and making a bridge module and compiling it when building batavia.
Which one is better for that purpose?
Thanks.

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