Needful Program Management
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    perriscriptpublic

    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.

    Keywords

    none

    install

    npm i perriscript

    Downloadsweekly downloads

    7

    version

    0.0.2

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar