Skip to content

Is AOT compilation supported/planned? #99

Description

@fwip

If possible, I'd like to pre-compile frawk scripts to binary executables. This would make it easier for me to distribute the scripts I've written to places where it is difficult for me to get frawk installed. I've previously used awka, but it can be a little tough to get compiling and doesn't have as many nice features as frawk.

I've used frawk --dump-llvm to get LLVM IR for a given awk script, but I'm not sure if there's an easy way to get from here to a binary I can distribute - it looks like the generated IR still relies on the frawk runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions