0.0
No commit activity in last 3 years
No release in over 3 years
Ruby PogoScript is a bridge to the JS PogoScript compiler.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Ruby PogoScript

Ruby PogoScript is a bridge to the official PogoScript compiler.

PogoScript.compile File.read("script.pogo")

Installation

gem install pogo-script

Dependencies

This library depends on the pogo-script-source gem which is updated any time a new version of PogoScript is released. (The pogo-script-source gem's version number is synced with each official PogoScript release.) This way you can build against different versions of PogoScript by requiring the correct version of the pogo-script-source gem.

In addition, you can use this library with unreleased versions of PogoScript by setting the POGOSCRIPT_SOURCE_PATH environment variable:

export POGOSCRIPT_SOURCE_PATH=/path/to/pogo-script/extras/pogo-script.js

JSON

The json library is also required but is not explicitly stated as a gem dependency. If you're on Ruby 1.8 you'll need to install the json or json_pure gem. On Ruby 1.9, json is included in the standard library.

ExecJS

The ExecJS library is used to automatically choose the best JavaScript engine for your platform. Check out its README for a complete list of supported engines.