Sha256: 731f97d6a136b41907ea0442eabb2fd887be3a790bbe520b166ced624b478aa2
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
Opal: Ruby runtime for javascript ================================= **Homepage**: [http://opalscript.org](http://opalscript.org) **Github**: [http://github.com/adambeynon/opal](http://github.com/adambeynon/opal) Description ----------- Opal is a ruby runtime and set of core libraries designed to run directly on top of javascript. It supports the gem packaging system for building ruby ready for the browser. It also uses therubyracer to provide a command line REPL and environment for running ruby server-side inside a javascript context. Installation ------------ Opal is distributed as a gem, so install with: $ gem install opal Alternativley, you may just clone this git repo. No building is neccessary. Usage ----- The opal build tools can be used in three ways. As a simple repl, the bundler tasks and the simple build tasks. **1. opal Command-line tool** In its current form, the `opal` executable is very simple - it provides a simple ruby repl that uses therubyracer to provide an embedable javascript context. If you have installed the gem, to run the REPL, simply type: $ opal or if you have cloned this repository, type: $ bin/opal The REPL can be used like any other repl, and internally each command is being compiled into javascript, and run in the context which opal is already loaded into. Changelog --------- - **30 March 2011**: 0.3.0 Release - Major redesign of build tools to use v8 for server side opal - Split all opal packages into actual gems - File and Dir classes for both browser and v8 gem runtimes
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
opal-0.3.0 | README.md |