Skip to content

Consider purs codegen command #3339

@garyb

Description

@garyb

This was mentioned somewhere in the discussion about how to deal with --dump-corefn, etc. but the general ideal was the compiler could pick up the corefn and then perform JS codegen on it, so you could have something like:

purs compile --codegen corefn src/**/*.purs
-- custom corefn optimizer tool
purs codegen ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions