Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Deliverable P 1 Scanner / Lexical Analyzer ( 1 0 0 pts ) Due 7 / 7 / 2 4 at 1 1
Deliverable P Scanner Lexical Analyzer pts Due at : PM
Develop a complete scanner. Write a short report describing the work performed, include the source code, and show the input and output. You must show the execution of this program by using appropriate input files and the program must show a list of the tokens scanned. Write a short report with READABLE screeshots of your execution output, then your report describing the work performed, followed by just your scanner code copied and pasted as text. In addition, submit copies of your source code files. If you have more than source code files, please submit your files as zip file.
Deliverable P Parser Syntax Analyzer pts Due at : PM
Develop a complete parser that executes with the scanner. You must show the execution of this program by using several relevant source lines as input, the program must show the corresponding statement recognized. Write a short report with READABLE screeshot of your execution output, then your report describing the work performed, followed by just your parser code copied and pasted as text. In addition, submit copies of your source code files. If you have more than source code files, please submit your files as zip file..
Deliverable P Interpreter pts Due at : PM
Develop a complete interpreter that includes the scanner and parser. You must show the execution of this program by using the relevant source line as input, the program must show the results after executing the statement recognized by the parser. Write a short report with READABLE screeshots of the output, then your report describing the work performed, followed by just your interpreter code copied and pasted. In addition, submit copies of your source code files. If you have more than source code files, please submit your files as zip file.
Review ProjectAssignmentAndSubmissionGuidelines for details on submitting to DL
As always late penalties, per day, are in effect for each deliverable.
Grammar for the Julia language
Syntax Analyzer
function id end
if then else end
while do end
id
repeat until
print
leoperator ltoperator geoperator gtoperator eqoperator neoperator
addoperator suboperator muloperator divoperator
Lexical Analyzer
id letter
literalinteger digit literalinteger digit assignmentoperator
leoperator ltoperator geoperator
gtoperator eqoperator neoperator ~ addoperator suboperator muloperator divoperator
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started