1.0.43 • Published 7 months ago

tron-lang v1.0.43

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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

7 months ago

1.0.42

7 months ago

1.0.41

7 months ago

1.0.4

7 months ago

1.0.31

8 months ago

1.0.3

8 months ago

1.0.2001

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

0.2.4

9 months ago

0.2.304

9 months ago

0.2.303

9 months ago

0.2.301

9 months ago

0.2.3

9 months ago