You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice for a tool to exist that could translate Sorbet's .rbi files into best-effort .rbs files.
An example use-case is a gem author who wishes to develop with Sorbet and expose .rbs files as well as .rbi to their users.
In general, this could be quite useful in moving the Ruby community forward together around types, by leveraging existing production-grade tools (Sorbet) to support the long-term health of the ecosystem.
According to @Morriar , an easy way to do this might be write a new printer that would output RBS rather than RBI.
Is this a tool you might be willing to build, or to build the underlying API for?
(I might be willing to produce an rbs2rbi CLI package on top of the the API if you like, but I don't think I'd be able to maintain the printer).
Thanks!
The text was updated successfully, but these errors were encountered:
(Moving from Shopify/rbs_parser#19)
It would be nice for a tool to exist that could translate Sorbet's
.rbi
files into best-effort.rbs
files.An example use-case is a gem author who wishes to develop with Sorbet and expose
.rbs
files as well as.rbi
to their users.In general, this could be quite useful in moving the Ruby community forward together around types, by leveraging existing production-grade tools (Sorbet) to support the long-term health of the ecosystem.
According to @Morriar , an easy way to do this might be write a new printer that would output RBS rather than RBI.
Is this a tool you might be willing to build, or to build the underlying API for?
(I might be willing to produce an
rbs2rbi
CLI package on top of the the API if you like, but I don't think I'd be able to maintain the printer).Thanks!
The text was updated successfully, but these errors were encountered: