-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We're currently adding Prism support to Sorbet for type checking. As part of this work, we need to programmatically create Prism nodes to translate RBS comments into equivalent Sorbet sig method calls.
Currently, we're using the exposed structs and functions directly: https://github.com/Shopify/sorbet/blob/73a82ff66355946c5e5e011bc5432e6228b84266/parser/prism/Factory.cc
Given the issue to reduce the public API scope, we wanted to check: would a public node creation API be something you'd be open to? We're happy to contribute to the design and implementation if it fits Prism's direction.
More context can be found in the Sorbet PR that introduces node creation: sorbet/sorbet#9667 🙇
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request