perriscript v0.0.2
perriscript 
Learn broken Spanish with Perriscript (AKA why not?)
This is a reimplementation of the best new compile-to-JS language, Dogescript by Zach Bruggeman, in Spanish. Guau.
guau
vaya perriscript
muy compilado
nueva-onda
npm guauInstallation
npm install -g perriscript
Usage
Command Line
perriscript without a file launches a REPL.
perriscript location/to/perriscript.pjs pipes the result to stdout. Use a command like perriscript perriscript.pjs > compiled.js to save to a file.
Options:
--beautify- Runs the code through a beautifier.--true-perri- Implements "true perri" mode, which splits lines by 3 spaces, instead of by newlines. This stays behind a flag until the spacing it exports is identical to non-true-perri mode.
Javascript
perriscript(file, beauty, truePerri)
file- A string of Perriscript.beauty- A boolean, set to true if you want the output to be ran through a beautifier.truePerri- A boolean, set to true if you want to enable true-perri mode.
Interactive example
Open example/GUAUserify/index.html in your browser or browse to http://sole.github.io/perriscript/example/GUAUserify/
If you make any change in the parser and want to regenerate the bundle, you'll need to install browserify first:
npm install -g browserifyThen cd to the example/GUAUserify/ folder and run
browserify index.js > bundle.jsLanguage
Check out LANGUAGE.md for some documentation. Otherwise, look at the example files in this repo.
Log
- 2013-12-28 0.0.1 Celebrating El día de los Santos Inocentes.