-
Design and implement a lexical analyzer using C language to recognize all valid tokens in the input program. The lexical analyzer should ignore redundant spaces, tabs and newlines. It should also ignore comments.
-
a) Write a lex program to display the number of lines, words and characters in an input text. b) Write a LEX Program to convert the substring abc to ABC from the given input string. c) Write a lex program to find out total number of vowels and consonants from the given input sting.
-
a) Generate a YACC specification to recognize a valid arithmetic expression that uses operators +, โ , *,/ and parenthesis. b) Generate a YACC specification to recognize a valid identifier which starts with a letter followed by any number of letters or digits.
-
Implementation of Calculator using LEX and YACC
-
Write a program to convert NFA to DFA.
-
Write a program to find First of any given grammar.
-
Design and implement a recursive descent parser for a given grammar.
-
Construct a Shift Reduce Parser for a given language.
-
Write a program to perform constant propagation.
-
Implement Intermediate code generation for simple expressions.
-
Implement the back end of the compiler which takes the three address code and produces the 8086 assembly language instructions. The target assembly instructions can be simple move, add, sub, jump etc.
s7-csl411-compiler-lab's Introduction
s7-csl411-compiler-lab's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.