Sha256: 8568d3ff7b51959e99bfa8f63d010722c0fbe02b9cf1687cedeebee5408f634c
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
# Mustang - V8 engine in Ruby's body Mustang is ruby proxy library for awesome Google V8 JavaScript engine. It embeds the V8 engine as a C++ extension (using Rice). ## Installation Using rubygems: $ gem install mustang Manualy: $ git clone git://github.com/nu7hatch/mustang.git $ cd mustang $ rake install ## Usage For now it's only proof of concept. It implements very simple evaluation of javascript code: require 'mustang' rt = Mustang::Runtime.new rt.evaluate("'Hello' + ' World!';") # => 'Hello World!' rt.evaluate("var a=1;") rt.evaluate("a+5;") # => 6 ## Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a future version unintentionally. * Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) * Send me a pull request. Bonus points for topic branches. == Copyright Copyright (c) 2010 Kriss 'nu7hatch' Kowalik. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mustang-0.0.1 | README.md |