Skip to content

Codegen: build generated code as AST + Macro.to_string/1 instead of string templates #3

Description

@lawik

Longer-term direction: generate code by building AST and running Macro.to_string/1, rather than string templates followed by a post-hoc Code.format_string!/1 pass. This would make the codegen more robust and remove the reliance on formatting to clean up output.

Larger refactor; tracked for future work.

(Migrated from the internal QUALITY.md "Still open" list before the Hex release.)

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