tiger-compiler

Compiler for the Tiger programming language from Andrew W. Appels book, Modern Compiler Implementation in C. (by FlexW)

Tiger-compiler Alternatives

Similar projects and alternatives to tiger-compiler

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tiger-compiler alternative or higher similarity.

tiger-compiler reviews and mentions

Posts with mentions or reviews of tiger-compiler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-17.
  • A Guide to Undefined Behavior in C and C++
    9 projects | news.ycombinator.com | 17 Aug 2023
    I took a compilers class in undergraduate. We read Appel's Modern Compiler Implementation in ML (https://www.cs.princeton.edu/~appel/modern/ml/) and built a compiler for the Tiger language (something like https://github.com/FlexW/tiger-compiler but SML instead of C).

    We covered the main chapters but not the advanced topics. If you look at the TOC (https://www.cs.princeton.edu/~appel/modern/toc.html) you can get an idea of the necessary steps:

    - Lexing

    - Parsing

    - Symbol table generation

    - Type checking

    - IR

    - Some static analyses (e.g. liveness)

    - Some optimizations (e.g. constant folding)

    - Assembly generation

    - Register allocation

    Me and my 1 group-mate had a working compiler at the end. It took a whole semester, sure I was taking other classes and doing other things, but it certainly takes more than 2 weekends.

Stats

Basic tiger-compiler repo stats
1
4
10.0
over 3 years ago

FlexW/tiger-compiler is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of tiger-compiler is C.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com