Divam-bot / Calculator_Parser_Using_YACC_LEX_PYTHON

Implementation of YACC Parser for parsing trivial mathematical calculation and to answer them. Deploying simple flask model to implement a small frontend to this parser code

Repository from Github https://github.comDivam-bot/Calculator_Parser_Using_YACC_LEX_PYTHONRepository from Github https://github.comDivam-bot/Calculator_Parser_Using_YACC_LEX_PYTHON

Calculator_Parser_Using_YACC_LEX_PYTHON

Parser made using YACC and LEX in python to parse trivial mathametical calculation and to display answer using Flask and Html on a hosted webpage.

Template folder contains: HTML file

Main parser logic and flask api to render it to html is given in app.py file

refer to flask documentation to understand more about file structure.

STEPS To easily run full project to a local machine:

  1. Create a new environment
  2. Install all libraries with help of requirement.txt
  3. copy all other files
  4. run flask

About

Implementation of YACC Parser for parsing trivial mathematical calculation and to answer them. Deploying simple flask model to implement a small frontend to this parser code


Languages

Language:HTML 53.1%Language:Python 46.9%