Tiger is the example programming language used in AndrewAppel's textbook on ModernCompilerImplementationInML.

Language features

  • data types
    • integers
    • strings
    • arrays
    • records
  • nested declarations
    • variable declarations
    • function definitions
    • type declarations
  • assignment (destructive update)
  • control-flow
    • if-then-else
    • if-then
    • while
    • for

The Tiger language reference is in the ModernCompilerImplementationInML book. There are also some references on the web. For example:

The signature for Tiger used in the TigerCompiler is documented in TigerAbstractSyntax


WebHome is a framework for the implementation of a TigerCompiler in the StrategoLanguage.

The TigerCompiler compiles Tiger programs to MIPS assembly code.


CategoryLanguage

Revision: r1.4 - 06 Feb 2003 - 15:07 - MartinBravenboer
Tiger > TigerLanguage
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback