ridin-lang
v1.1.1
Published
A semi-esoteric language based on "|" characters
Downloads
3
Readme
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