Question: I need help with a Python program The parser GUI can look different, but please make it with the same functionalities. Using TK if possible.

I need help with a Python program

The parser GUI can look different, but please make it with the same functionalities. Using TK if possible. Any help would be greatly appreciated. Thank you so much!

I need help with a Python program The parser GUI can look

Lexer and Parser for TinyPie Source Code Tokens Parse Tree float mathresult1 5*4.3 +2.1; float mathresult2 = 4.1 + 2*5.5; if _(mathresult1 >mathresult2): print("I just built some parse trees" ); A good formatted way to show the process of your parse tree building. You can use the example code's format. ####Parse tree for line 1### and so on -parent node... And so on Current line number: 1 Exit Next Line When user press the next line the first time, the first line gets processed and give out the list on the middle and give out the parse tree generation steps for this sentence on the right side. When the user hit next again, next line gets processed, just like the lexer requirement. Between the 4 parse tree building process outputs, please include a easy to find line, like "####Parse tree for line 1####, to separate them so that we can tell which part of the parser output is dealing with which line of input We require good formats for the parse tree output similar to the parsing AlgoExample.py code used in the Lexer and Parser for TinyPie Source Code Tokens Parse Tree float mathresult1 5*4.3 +2.1; float mathresult2 = 4.1 + 2*5.5; if _(mathresult1 >mathresult2): print("I just built some parse trees" ); A good formatted way to show the process of your parse tree building. You can use the example code's format. ####Parse tree for line 1### and so on -parent node... And so on Current line number: 1 Exit Next Line When user press the next line the first time, the first line gets processed and give out the list on the middle and give out the parse tree generation steps for this sentence on the right side. When the user hit next again, next line gets processed, just like the lexer requirement. Between the 4 parse tree building process outputs, please include a easy to find line, like "####Parse tree for line 1####, to separate them so that we can tell which part of the parser output is dealing with which line of input We require good formats for the parse tree output similar to the parsing AlgoExample.py code used in the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!