Question: CODING GUIDES(PYTHON): 1. Use of proper variable declaration/initialization according to the naming conventions (camelCase, snake_case, PascalCase ) 2. Use of proper function for each module.

CODING GUIDES(PYTHON):

1. Use of proper variable declaration/initialization according to the naming conventions (camelCase, snake_case, PascalCase )

2. Use of proper function for each module.

CODING GUIDES(PYTHON): 1. Use of proper variable declaration/initialization according to the naming

Implementation of lexical analyzer - Tokenization of expression (expression can be i.e a+(bc) or 3+(52) digits, alphabets, characters ) - Building regex for the expression - Output tags/ tokens of the expression (i.e. ['a', '+', '(', 'b', '*', 'c', ')'] ) Note: For this task you are required to explore python re library: 1. https://docs.python.org/3/library/re.html 2. https://www.w3schools.com/python/python regex.asp Module 2: Implementation of syntax tree using AST library of python Note: For this task you are required to explore python AST library: 1. https://docs.python.org/3/library/ast.html 2. https://www.pythonpool.com/python-ast/

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!