0.1.0 • Published 3 years ago
jth-cli v0.1.0
- CLI
⚠️WARNING⚠️ Jth is still very much a work in progress.
- Many ideas around how the language should work are up in the air.
- Many bugs exist in the implementation.
Commandline interface for interacting with jth.
Installation
Dependencies: node/npm
Install with command:
npm install -g jth-cliCommand Line Usage
run
Run jth file
jth run ./hello.jthRun jth code
jth run --code '"Hello World!" @!;'compile
Compile jth to javascript and print to console.
jth compile ./hello.jthjth compile --code '"Hello World!" @!;'Compile jth to javascript and send to file.
jth compile ./hello.jth ./hello.mjsjth compile --code '"Hello World!" @!;' ./hello.mjsCompile jth files in a given directory
jth compile src/Compile jth files in a given directory to new directory. Copy other files
jth compile src/ dist/repl
Start a repl
⚠️WARNING⚠️ Broken. See https://github.com/johnhenry/jth/tree/main/docs/changelog.md
jth repl
>"Hello World!" @!;
>'Hello World!'