Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python The final result would look like the following graph. However, you DO NOT need to create a GUI that looks exact like this. As

python

image text in transcribed

The final result would look like the following graph. However, you DO NOT need to create a GUI that looks exact like this. As long as you have the place for some source code, the place for output, a next button to read in next row of text from the source code and print this row on the output window, and a quit button to exit, you can design the interface appearance the way you like. Submit one .py file TKinter tutorial links are in Week1 Friday notes. The video we watched that day finished similar functionalities. You can find other resources from python tutorial links or Youtube TKinter tutorial videos. Lexical Analyzer for TinvPie Source Code Input: Lexical Analyzed Result: Some text showing analyzed result Some User Source Code Input For prototype: Just print the source code int a=4 int b-5 c=a+b line out int a-4 int b-5 Current Processing Line: Next Line Quit Grading: 100%-GUI look good with all the functionalities required. (1. Input window for user code input. 2. Output window for results output. 3. Next line button that reads the next line of input, and print this line to the output box. 4. A number showing which line your lexer is processing. 5. Clear labels so that user can understand how to use your program GUI.) The final result would look like the following graph. However, you DO NOT need to create a GUI that looks exact like this. As long as you have the place for some source code, the place for output, a next button to read in next row of text from the source code and print this row on the output window, and a quit button to exit, you can design the interface appearance the way you like. Submit one .py file TKinter tutorial links are in Week1 Friday notes. The video we watched that day finished similar functionalities. You can find other resources from python tutorial links or Youtube TKinter tutorial videos. Lexical Analyzer for TinvPie Source Code Input: Lexical Analyzed Result: Some text showing analyzed result Some User Source Code Input For prototype: Just print the source code int a=4 int b-5 c=a+b line out int a-4 int b-5 Current Processing Line: Next Line Quit Grading: 100%-GUI look good with all the functionalities required. (1. Input window for user code input. 2. Output window for results output. 3. Next line button that reads the next line of input, and print this line to the output box. 4. A number showing which line your lexer is processing. 5. Clear labels so that user can understand how to use your program GUI.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions