Skip to content

Switching to proc macros for code generation? #70

Description

@projectgus

I suspect you folks have thought about this, so I'm curious what your take is on using a proc macro mechanism such as quote to generate the output code instead of writeln!?

If you think such a thing could potentially work, would you be amenable to merging a PR that switched over (without changing the generated code semantics), if someone was to put one together(*)?

(*) EDIT: With the obvious caveat that it would have to not add heinous amounts of complexity!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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