Giter Club home page Giter Club logo

compiler-design-lab's Introduction

Compiler Laboratory

Lab Programs for CS6612 Compiler Laboratory

  1. Implementation of Symbol Table
  2. Develop a lexical analyzer to recognize a few patterns in C. (Ex. identifiers, constants, comments, operators etc.)
  3. Implementation of Lexical Analyzer using Lex Tool
  4. Generate YACC specification for a few syntactic categories. a. Program to recognize a valid arithmetic expression that usesoperator +, โ€“ , * and /. b. Program to recognize a valid variable which starts with a letter followed by any number of letters or digits. c. Implementation of Calculator using LEX and YACC
  5. Convert the BNF rules into Yacc form and write code to generate Abstract Syntax Tree.
  6. Implement type checking
  7. Implement control flow analysis and Data flow Analysis
  8. Implement any one storage allocation strategies (Heap, Stack, Static)
  9. Construction of DAG
  10. Implement the back end of the compiler which takes the three address code and produces the 8086 assembly language instructions that can be assembled and run using a 8086 assembler. The target assembly instructions can be simple move, add, sub, jump. Also simple addressing modes are used.
  11. Implementation of Simple Code Optimization Techniques

compiler-design-lab's People

Contributors

aryankhandal0 avatar atharvanvaidya avatar jacobsamro avatar rajarashok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.