Skip to content

Feat: Additional Output Formats #1

@z80dev

Description

@z80dev

We should have some more output options to show some useful stuff.

Initial ideas:

--asm: output assembly, basically all the opcodes right before we turn them into bytes
--ast: output an AST, basically the object we get after calling `syntax->datum` in the compilation phases pipeline 

In puff/puff.rkt we have a few functions that set up some compilation pipelines. To implement these alternative outputs, the easiest way would be to define new functions there, and then in main.rkt hook those functions up to the right cli flags.

Documentation for the cli flag stuff we're using can be found here

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