/Tiger-Compiler

The SubTiger language is the subset of the Tiger language. Currently, the language supports only integers, but would be extended to strings and floating point computation. Currently, the compiler compiles to MIPS assembly code, which can be run using SPIM simulator.

Primary LanguageStandard MLMIT LicenseMIT

Compiler for SubTiger Language

Name: Mayank Singla
Roll No.: 111901030

The SubTiger language is the subset of the Tiger language. Currently, the language supports only integers, but would be extended to strings and floating point computation. Currently, the compiler compiles to MIPS assembly code, which can be run using SPIM simulator.

Technologies Used

  • Standard ML

Summary of the Compilers Lab

See SUMMARY.md.

Installation

See INSTALL.md.

Syntax for the Language

See SYNTAX.md to know about the syntax of the language supported by the compiler.

Using the Compiler

See the below files for the usage of the two versions of the compiler.
Includes info for using the Makefile and the binary executable.

Design

See the below files for the design of the two versions fo the compiler.
Includes info about the directory structure and implementation details.

License

MIT

Author

Mayank Singla

Mayank Singla