Hello World

The simplest possible Tish application. Logs output and exits.

Features Used

None (runs in secure mode).

What It Does

  • Logs a greeting message
  • Logs the version
  • Exits successfully

Local Development

Run without installing tish (from this directory; tish repo is ../..):

# Run with interpreter
cargo run -p tishlang--manifest-path ../../Cargo.toml --release -- run src/main.tish
 
# Compile and run
cargo run -p tishlang--manifest-path ../../Cargo.toml --release --features full -- build src/main.tish -o hello
./hello

Or with tish installed: tish run src/main.tish and tish build src/main.tish -o hello

Deploy

Deploy with Zectre: zectre deploy --wait from this directory. See Deploy Overview for details.

Improve this documentation