Tutorial examples

This directory contains a number of simple Timber examples. In addition to the pages that describe the programs and comment on the code, the source files are here and can be compiled and run.

Module Echo is stored in file Echo.t and is compiled and linked by the shell command

timberc --make=Echo
which produces an executable file called Echo which can be run by the command

This is generalized in the expected way to other programs; the --make option makes sure that all (recursively) imported modules are compiled in the proper order before linking is done.

Some programs require a command line argument as described in the respective page.

A brief summary of the programs is the following: