Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/smile040501/tiger-compiler
- Owner: Smile040501
- License: mit
- Created: 2022-05-04T18:00:06.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-04T18:00:44.000Z (almost 3 years ago)
- Last Synced: 2024-11-15T22:22:46.901Z (3 months ago)
- Topics: canonicalization, canonization, code-generation, compiler, compilers, compilers-design, intermediate-representation, mips, mips-assembly, spim, tiger-compiler, tiger-language
- Language: Standard ML
- Homepage:
- Size: 158 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Compiler for SubTiger Language
**Name**: Mayank Singla\
**Roll No.**: 111901030The 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**
- [**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"