Getting Started

Tao is a tiny language implemented in Ruby. Three commands are all you need.

Install the gem

Taoism is distributed as a Ruby gem and has no dependencies beyond Ruby itself.

gem install taoism

Run a script

Write a .tao file and run it with tao:

fun main() {
  io.println("hello, world")
}

main()
tao hello.tao

Open the console

taoism starts an IRB-like interactive console for trying snippets.

taoism

Running tao with no arguments prints a friendly note and exits. Missing files and runtime errors are reported on standard error.

Next steps

Once you have somewhere to explore, it’s time to learn the language: start with the syntax guide, or jump straight into data types.