Giter Club home page Giter Club logo

compiler-lab's Introduction

Experimental Compiler

This is my implementation of an experimental compiler that I made using the documentations provided here. This was done as part of a Compiler Lab course I took up in my 6th Semester at NITC.

Progress

  • ✔️ Installation
  • ✔️ CodeGeneration for Arithmetic Expressions
  • ✔️ Introduction to static storage allocation
  • ✔️ Adding Flow Control Statements
  • ✔️ User Defined Variables and arrays
  • ✔️ Adding Functions
  • ✔️ User defined types and Dynamic Memory Allocation
  • ✔️ Adding Objects – Data encapsulation
  • ✔️ Inheritance and Sub-type Polymorphism

Running

The environment can be setup using the instructions provided here.

There is a slight modification to the run command given in the above gist.

docker run -v $PWD/files:/xsm_expl/files -d --name silc -i silc:ubuntu2- :heavy_check_mark:04

For each implement there is a makefile given in the directory. The code can be compiled using

make

And finally just run the corresponding executable file.

compiler-lab's People

Contributors

nikhil-rajesh avatar

Stargazers

Paulo B. S. 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.