Coder Social home page Coder Social logo

pratiksavla / compiler-design-lab Goto Github PK

View Code? Open in Web Editor NEW
59.0 2.0 23.0 62 KB

These are my programs for compiler design lab work in my sixth semester

License: GNU General Public License v3.0

Python 100.00%
python python-3 regular-expression nfa regex regular-expression-to-nfa compiler-design theory-of-computation lexical-analyzer lexical-analysis

compiler-design-lab's Introduction

MY COMPILER DESIGN LAB EXPERIMENTS/PROGRAMS

Requirements

  1. Python 3.6+

How to Run?

  1. Install Python 3.6+
  2. Clone this repository
  3. In command line type:
python ex[exercise-number].py

Experiments List

  • Ex.1 - Lexical Analyzer
  • Ex.2 - Regular Expression to NFA
  • Ex.3 - Elimination of Left Recursion
  • Ex.4 - Elimination of Left Factoring
  • Ex.5 - Computation of First and Follow sets
  • Ex.6 - Computation of Leading and Trailing sets
  • Ex.7 - Construction of Predictive Parsing Table
  • Ex.8 - Implementation of Shift Reduce Parsing
  • Ex.9 - Computation of LR(0) items
  • Ex.10 - Intermediate Code Generation: Three Address Code, Postfix, Prefix

compiler-design-lab's People

Contributors

atarpara avatar israeb avatar pratiksavla 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  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

compiler-design-lab's Issues

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.