Powerful T-ruby Is Ruby With Syntax For Types

Powerful T-ruby Is Ruby With Syntax For Types

Write typed Ruby, compile to standard Ruby with generated type signatures.

Compare with existing Ruby typing solutions and see why T-Ruby is different.

A static type checker for Ruby developed by Stripe. Uses sig blocks to declare types on methods.

T-Ruby uses inline types like TypeScript without runtime dependencies, and generates standard RBS files.

T-Ruby integrates seamlessly with the Ruby ecosystem.

T-Ruby is an open source project. Your contribution makes a difference.It's still experimental. The core compiler works, but there's much to improve.Feedback and suggestions are always welcome!

Submit a pull request and help build the future of typed Ruby

Source: HackerNews