Skip to content

mrexodia/ExpressionParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExpressionParser

This is a very simple expression parser for binary operations with operator precedence, unary minus/plus and parentheses. It uses Dijkstra's Shunting-yard algorithm.

Sample input/output:

> 1+1
Result: 2
> 1--1
Result: 2
> 1^3
Result: 2
> ~89
Result: -90
> (1 + 6) * 3
Result: 21

This will be integrated in x64dbg once it is proven to be stable.

About

Very simple expression parser for binary operations with operator precedence, unary minus/plus/NOT and parentheses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published