Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 397 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 397 Bytes

Arithmetic-expression-parser

A simple recursive descent parser for arithmetic expressions.

First / Follow / Lookahead sets are included

The parser also evaluates the value of the expression.

Allowed symbols : {(,),*,/,+,-}

Input example : (1-2*(2*(1-24))/(20*2/(3-4))

How to run

Compile with the given makefile , run the program and input an arithmetic string with the allowed symbols.