Royalscript

A functional programming language that's Royal!

Setup and Getting Started

To try out RoyalScript and start coding, follow the instructions below

Installation

To install RoyalScript, you can use npm by typing the command:

$ npm install -g pike

Usage

RoyalScript, when run natively uses .royal files. To compile a RoyalScrpt file to javascript, use

royalscript -j path/to/royalscriptfile

This will output the transcompiled, compressed javascript in your terminal. To compile and run a royalscript file, you can use

royalscript -e path/to/royalscriptfile

Quick Start

You can click the repl or playground links at the type of the page to try RoyalScript out right in the browser.