Skip to content

JSON intermediate output for standalone codegen executables? #1544

Description

@dstrelau

Would you be open to a PR that adds a JSON output in the manner @skabbes suggests in this comment?

It looks like outputting the plugin.CodeGenRequest as JSON would be pretty trivial and provide all the relevant info you'd need to write a standalone generator.

Activity

  1. kyleconroy commented on Apr 20, 2022

    @kyleconroy
    Collaborator

    I think this is a great idea and should probably be our first official plugin. Sadly, plugin support probably won't make it into 1.14, as we're still waiting on wasmtime-go to ship with native M1 support. In the meantime, we could implement this as an experimental codegen backend, similar to the Python support, and remove it once plugins have shipped.

  2. added this to the v1.14.0 milestone on Apr 20, 2022
  3. dstrelau commented on May 2, 2022

    @dstrelau
    Author

    Closed by #1565! Thanks @kyleconroy!

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions