helix
helix copied to clipboard
Coercions for Rust structs and Ruby hashes
A common pattern in Ruby is to use a hash for temporary structured data. Manually implementing such coercions results in fairly mechanical, repetitive code that would be ideally produced by a proc-macro.
I have actually prototyped a simple proc-macro for generating these coercions. It's not in a suitable state for publishing yet, but I'd like to discuss approaches.
@moosingin3space are you still interested in this?