1.1.1 • Published 6 years ago

ridin-lang v1.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

Ridin

Installing

Just run

npm install ridin -g

How to use the CLI

ridin <filename> [options]

API

You can use the function run(code,compatibility?) to interpret a ridin code, here is an example:

const ridin = require("ridin-lang") //Import module
ridin.run("print|test|end") //run

and with backwards compatibility:

const ridin = require("ridin-lang") //Import module
ridin.run("prompt|return|5|print|something|end",true) //run with backwards compatibility

Examples

print|Guess game (Ridin 0.2)|
random|0|3|val|9|var|1|value|
prompt|Insert a number (0 - 3):|
val|19|get|1|val|20|
if|valor|condition|26|23|
print|That's not the number|end|
print|You guessed the number!|end
1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago