0.1.0 • Published 3 years ago

jth-cli v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

- 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-cli

Command Line Usage

run

Run jth file

jth run ./hello.jth

Run jth code

jth run --code '"Hello World!" @!;'

compile

Compile jth to javascript and print to console.

jth compile ./hello.jth
jth compile --code '"Hello World!" @!;'

Compile jth to javascript and send to file.

jth compile ./hello.jth ./hello.mjs
jth compile --code '"Hello World!" @!;' ./hello.mjs

Compile 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!'
0.1.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago