Giter VIP home page Giter VIP logo

rvce-6th-sem-cse-lab-programs-cd's Introduction

RVCE 6th Sem Compiler Design Programs

RV College of Engineering, Bengaluru

Compiler Design(18CS63)

Lab Programs for CIE and SEE


  1. Program 1:ย 
    1. Write a LEX program to count number of words, lines, characters and whitespaces in a given paragraph.
    2. Write a YACC program to recognize strings of the form anbn+mcm, n,m>=0.
  2. Program 2:
    1. Write a LEX program to count number of Positive and Negative integers and Positive & Negative fractions.
    2. Write a YACC program to validate and evaluate a simple expression involving operators +,- , * and /.
  3. Program 3:
    1. Write a LEX program to count the number of comment lines in a C Program. Also eliminate them and copy that program into a separate file.
    2. Write a YACC program to recognize a nested (minimum3levels)FOR loop statement for C language.
  4. Program 4:
    1. Write a LEX program to recognize and count the number of identifiers, operators and keywords in a given input file.
    2. Write a YACC program to recognize nested IF control statements (C language) and display the number of levels of nesting.
  5. Program 5: Write a C program to implement a ShiftReduce parser for a given grammar and generate the parsing table by parsing the given string.
  6. Program 6: YACC program that reads the C statements for an input file and converts them in quadruple three address intermediate code.
  7. Program 7: Write a YACC program that identifies the Function Definition of C language.
  8. Program 8: Write a YACC program that generates Assembly language (Target) Code for valid Arithmetic Expression.

rvce-6th-sem-cse-lab-programs-cd's People

Contributors

18praneeth avatar hoplite2000 avatar not-rm-rf avatar ramadas-kamat avatar venjanv 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.