Using The Components

Tiger in Stratego -- Compilation by Program Transformation
The xmpl/ directory in the TigerXmpl package contains a number of example Tiger programs (partly copied from the ModernCompilerImplementation? site) and a Makefile for applying components to the examples.

Examples of usage are

  • gmake prog.tas: to make Tiger abstract syntax from prog.tig

  • gmake prog.txt: to `pretty-print' prog.tig

  • gmake prog.s: to make the MIPS assembly language implementation of prog.tig

See the Makefile.pkg ffiles for all the available targets.

-- EelcoVisser - 14 Sep 2002