You are on page 1of 2

Dhaka City College

Department of Computer Science and Engineering


Lab Report on
CSE – 540204 (Compiler Design Lab)

Submitted to: Submitted by:


Ms Sheuli Saha Name: Md Saimoon Rana
Lecturer NU Roll:
Department of CSE Reg. No: 18502002917
Dhaka City College Part - 4, 7th Semester
Session: 2018-19, Section: B
Dept. of CSE
Dhaka City College

Date of Submission: Signature


INDEX

Experiment Experiment Name Page


No No
Write a simple lex specification to recognize the following
1 verbs- am, is, are, was, were, be, being, been, do, does, did,
would, should, can, could, as
Write a simple lex specifications to recognize the following
2 word and different parts of speech am, is, are, go, very,
simple, quickly, gently, to, from, behind, between, if, then,
and.
Write a simple lex specification to recognize different
3 operators.
4 Write a simple lex specification to recognize different
identifiers.
Write a simple lex specification to recognize different
5 keywords.
6 Write a simple lex specification to recognize integer.
7 Write a simple lex specification to recognize floating point.
Write a simple lex specification to recognize integer and
8
floating-point numbers.
9 Write a simple lex specification to recognize a digit.
Write a simple lex specification to recognize different
10 punctuation symbols.

Signature

You might also like