1.0.43 • Published 1 year ago

tron-lang v1.0.43

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Logo

Tron Programming Language

An Open Source, Fast and Simple Programming Language written in Rust

MIT License

npm

Usage/Examples

let name = :in_"Please enter your name: ";
print "Hello " + name;
fn add(a,b){
  return a + b;
}

print add(1,5);
let age = :num_"Please enter your age: ";

if age < 18 {
    print "minor";
    exit;
} else {
    print "adult";
    run "adultsonly.tron";
}

See More

Acknowledgements

Installation

Before starting the installation, please make sure that you have already installed Rust.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

If rust is already installed you are free to install Tron in your project:

npm install tron-lang

add the following code in the package.json:

  "scripts": {
    "build": "cd node_modules/tron-lang \n chmod + x ./build.sh \n ./build.sh",
    "start": "cd node_modules/tron-lang \n cargo run"
  }

Run npm run build and then npm start in the terminal.

Support

For support, email tronlang@proton.me or pi_bmi@proton.me.

Authors

1.0.43

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.4

1 year ago

1.0.31

1 year ago

1.0.3

1 year ago

1.0.2001

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

0.2.4

1 year ago

0.2.304

1 year ago

0.2.303

1 year ago

0.2.301

1 year ago

0.2.3

1 year ago