Skip to content

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.

License

Notifications You must be signed in to change notification settings

Smile040501/Tiger-Compiler

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published