Opal is a Ruby to JavaScript source-to-source compiler. It comes packed with the Ruby corelib you know and love. It is both fast as a runtime and small in its footprint. The lib directory holds the Opal parser/compiler used to compile Ruby into JavaScript. It is also built ready for the browser into opal-parser.js to allow compilation in any JavaScript environment. This directory holds the Opal runtime and corelib implemented in Ruby and JavaScript. opal-parser allows you to eval Ruby code directly from your HTML (and from Opal) files without needing any other building process. Opal.compile is a simple interface to just compile a string of Ruby into a string of JavaScript code. See the website for more detailed instructions and guides for Rails, jQuery, Sinatra, rack, CDN, etc.

Features

  • Compile Ruby code with the CLI
  • Compile Ruby code from Ruby
  • Compile Ruby code from HTML
  • Run automated tests
  • You can run MSpec tests
  • Code runs inside your Ruby environment

Project Samples

Project Activity

See All Activity >

Categories

Compilers, Runtimes

License

MIT License

Follow Opal

Opal Web Site

Other Useful Business Software
Manage and optimise Google, Facebook and Microsoft Ads faster and gain a competitive advantage with our digital advertising platform. Icon
Manage and optimise Google, Facebook and Microsoft Ads faster and gain a competitive advantage with our digital advertising platform.

Smarter, more effective advertising

Slash the time it takes to manage and optimize your Google, Microsoft Advertising or Facebook Ads campaigns to just minutes a day. Adzooma's AI and machine learning based PPC platform offers stress free campaign management, state of the art 24/7 optimization and advanced automation, all in a simple to use interface. Scan for 50+ improvement 'opportunities', many of which can be actioned with a single click, track PPC performance and highlight over/under spending to improve your quality score, conversions and ROI. These trying times are tough for all. So we're giving away our whole award-winning platform for free until June 1st 2020. That's automated PPC ads, one-click optimisations, and world-class reporting - at zero cost. No strings attached. No credit card required.
Free until June 1st 2020
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Opal!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Compilers, Ruby Runtimes

Registered

2021-12-02