piratelang

1.2.17 • Public • Published

PirateLang-V2

Build Status
Small and fun programming language

Example code:

This code will make a function called varTOeet which adds 1337 to the input value which is a variable called scrub and on the last line we print the new value out

do(
 define(makeLeet, fun(varTOleet, +(varTOleet,  1337))),
 define(scrub, 420),
 ahoy(makeLeet(scrub))
 )
 output: 1757

TODO

  1. Make IS (interactive shell)
  2. Plugin for editors
  3. Make it more pirate like
  4. Add some form of graphics api

Install:

To install Piratelang you will need to have nodejs installed on your computer, when you have that run this command

 npm i piratelang -g

NOTE: if you are on mac you may have to run the command as sudo
now you can run your programs by typing

 pirate -f file.txt

Whenever you want to update piratelang you simply type

 pirate -u

Huge thanks Marijn Haverbeke and his book Eloquent JavaScript second edition book

Readme

Keywords

Package Sidebar

Install

npm i piratelang

Weekly Downloads

0

Version

1.2.17

License

MIT

Last publish

Collaborators

  • lordsquirrel