Skip to content

Use ERB based templates for code generator in ruby-rbs crate #538

@soutaro

Description

@soutaro

Currently ruby-rbs crate generates AST definitions (in bindings.rs) through build.rs. This is standard way in Rust ecosystem, but using ERB templates would make more sense since we can share the implementation with the C version.

Reference: ruby/rbs#2826 (comment)

@soutaro is good for this but also understand it's not straightforward. We need some discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreSomething that should not be included in release notes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions