A functional programming language that's Royal!
To try out RoyalScript and start coding, follow the instructions below
To install RoyalScript
, you can use npm by typing the command:
$ npm install -g pike
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
You can click the repl or playground links at the type of the page to try RoyalScript out right in the browser.