Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including perriscript with all npm packages installed. Try it out:

var perriscript = require("perriscript")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

perriscript v0.0.2

guau vaya sintaxis tela perri muy futuro

perriscript NPM version

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 guau

Try it out

Installation

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 ejemplos

Open ejemplos/GUAUserify/index.html in your browser or browse to http://sole.github.io/perriscript/ejemplos/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 browserify

Then cd to the ejemplos/GUAUserify/ folder and run

browserify index.js > bundle.js

Language

Check out LANGUAGE.md for some documentation. Otherwise, look at the ejemplos files in this repo.

Log

  • 2013-12-29 0.0.2 Even more Spanglish and less spell-checking! Many guaucias to Jason Denizac.
  • 2013-12-28 0.0.1 Celebrating El día de los Santos Inocentes.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free