Skip to content

v-shenoy/expression-parsing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expression-parsing

An implementation of two parsing algorithms.

  1. Traditional Recursive Descent Parser.
  2. Pratt's Top Down Operator Parser.

Expression syntax contains the following operators, with increasing levels of precedence.

Precedence Operators
0 =
1 ||
2 &&
3 |
4 ^
5 &
6 ==, !=
7 >, >=, <, <=
8 +, -
9 >>, <<
10 *, /, %
11 !, ~, -(unary)
12 **
13 ()

About

Implementation of a traditional recursive descent parser, and a Pratt parser.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages