Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smile040501/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.
https://github.com/smile040501/tiger-compiler

canonicalization canonization code-generation compiler compilers compilers-design intermediate-representation mips mips-assembly spim tiger-compiler tiger-language

Last synced: 27 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# Compiler for SubTiger Language

**Name**: Mayank Singla\
**Roll No.**: 111901030

The SubTiger language is the subset of the [Tiger language][tiger-resource]. 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`](SUMMARY.md).

## Installation

See [`INSTALL.md`](INSTALL.md).

## Syntax for the Language

See [`SYNTAX.md`](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`.**

- [Compiler-Without-Tree-IR](tag-improvements1/INSTRUCTIONS.md)
- [Compiler-With-Tree-IR](compiler-tree-ir/INSTRUCTIONS.md)

## Design

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

- [Compiler-Without-Tree-IR](tag-improvements1/README.md)
- [Compiler-With-Tree-IR](compiler-tree-ir/README.md)

## License

[MIT](LICENSE)

## Author


Mayank Singla

**Mayank Singla**

- [**GitHub**][github]
- [**LinkedIn**][linkedin]

[github]: https://github.com/Smile040501
[linkedin]: https://www.linkedin.com/in/mayank-singla-001pt
[tiger-resource]: https://www.lrde.epita.fr/~tiger/tiger.html
[mips]: https://en.wikipedia.org/wiki/MIPS_architecture "MIPS architecture"
[spim]: http://spimsimulator.sourceforge.net/ "SPIM: A MIPS Simulator"