Instagram l 2:01 AM O 55% E cdn.fbsbx.com Done 1 of 1 PRINCE ABDULLAH BIN GHAzı FACULTY OF COMMUNICATION AND INFORMATION TECHNOLOGY Department of Computer Science : Course Name Compiler Construction...


Instagram l<br>2:01 AM<br>O 55% E<br>cdn.fbsbx.com<br>Done<br>1 of 1<br>PRINCE ABDULLAH BIN GHAzı FACULTY<br>OF COMMUNICATION AND INFORMATION TECHNOLOGY<br>Department of Computer Science<br>:<br>Course Name<br>Compiler Construction and programming languages<br>:<br>Dr. Hasan Rashaideh<br>Instructor<br>Semester<br>2nd 2020-2021<br>:<br>Assignment [1]<br>Scanner /lexer<br>In this assignment, you will write a lexical analyzer for a one of the following JavaScript<br>programming language<br>1. Token specification:<br>You must create a table of the JavaScript programming language tokens as follows:<br>ТОKEN<br>Description<br>Pattern/Rule<br>lexeme examples<br>2. Write a Lex specification file and use the Lex generator to construct a lexical analyzer for the<br>JavaScript programming language with the following lexical properties:<br>1. Identifiers.<br>2. Кeywords.<br>3. Literals.<br>4. Operators.<br>5. Delimiters.<br>3. Test the lexical analyzer using sample of source files from the JavaScript programming<br>language.<br>4. Write a Lex program to remove comments from the JavaScript language.<br>

Extracted text: Instagram l 2:01 AM O 55% E cdn.fbsbx.com Done 1 of 1 PRINCE ABDULLAH BIN GHAzı FACULTY OF COMMUNICATION AND INFORMATION TECHNOLOGY Department of Computer Science : Course Name Compiler Construction and programming languages : Dr. Hasan Rashaideh Instructor Semester 2nd 2020-2021 : Assignment [1] Scanner /lexer In this assignment, you will write a lexical analyzer for a one of the following JavaScript programming language 1. Token specification: You must create a table of the JavaScript programming language tokens as follows: ТОKEN Description Pattern/Rule lexeme examples 2. Write a Lex specification file and use the Lex generator to construct a lexical analyzer for the JavaScript programming language with the following lexical properties: 1. Identifiers. 2. Кeywords. 3. Literals. 4. Operators. 5. Delimiters. 3. Test the lexical analyzer using sample of source files from the JavaScript programming language. 4. Write a Lex program to remove comments from the JavaScript language.

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here