Code Monkey home page Code Monkey logo

uci-cs241-advanced-compiler-main's Introduction

UCI-CS241-Advanced-Compiler-main 2023 Winter

  1. This project is the implementation of DLX SSA-based compiler for the course CS241 Advanced Compiler Class taught by Professor Michael Franz in 2023 winter at UC Irvine.
  2. For running the compiler project, python version needs to be > python3.7+.
    1. Required package: > multipledispatch.
    2. Required package: > graphviz.
  3. This project is splitted into 2 parts:
    1. The warmup project: A simple interpreter running the parser in the backend to do the parsing tests on dlx basic algebra computation. The warmup project can be simply run by entering the warmup project folder and do > python run_interpreter.py.
    2. The main SSA-based compiler: For running the code and test the results, please do > python main.py. For testing the compiler with different test code written in dlx, we can add new files in txt file and save it to the test directory. Then change the file name in main.py.
  4. Since this project is written individually, coloring and functions for the compiler are not implemented. This compiler includes basic algebra operation compilation, if statement, while statement, and array data structure handlement.

uci-cs241-advanced-compiler-main's People

Contributors

zjc664656505 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.