ridin-lang

1.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ridin-lang

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

4.57 kB

Total Files

5

Last publish

Collaborators

  • tau5