opal
« Back to VersTracker
Description:
Ruby to JavaScript transpiler
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @opalrb  |  formulae.brew.sh
Category: Developer tools
Tags: ruby javascript transpiler compiler web-development language-tool
Install: brew install opal
About:
Opal is a source-to-source compiler that translates Ruby code into JavaScript, allowing developers to write Ruby syntax for client-side applications. It includes a comprehensive standard library implementation and runtime, providing seamless interoperability between Ruby and JavaScript. This tool enables full-stack Ruby development by letting developers use a single language across both server and browser environments.
Key Features:
  • Ruby-to-JavaScript transpilation with full language compatibility
  • Comprehensive standard library implementation for browser environments
  • Seamless Ruby and JavaScript interoperability
  • Support for Ruby gems and modules in browser code
  • Source maps for debugging original Ruby code in browser dev tools
Use Cases:
  • Building browser-based applications using Ruby syntax instead of JavaScript
  • Creating isomorphic applications with shared Ruby code between server and client
  • Porting Ruby libraries and logic to run in web browsers
  • Prototyping web interfaces using familiar Ruby paradigms
Alternatives:
  • CoffeeScript – Compiles to JavaScript but uses Python-like syntax rather than Ruby
  • TypeScript – Superset of JavaScript with static typing, not Ruby-based
  • Babel – JavaScript transpiler focused on modern JS features, not Ruby compilation
Version History
Detected Version Rev Change Commit
Sep 16, 2025 9:25am 0 VERSION_BUMP 233c3024