Skip to content
rcslabsPublic
forked from scireum/parsii

About

Super fast and simple evaluator for mathematical expressions written in Java

Resources

Stars

0 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

56 Commits

Folders and files

Repository files navigation

FORKED parsii

If you have questions or are just curious, please feel welcome to join the chat room: Join the chat at https://gitter.im/scireum/sirius-kernel

Super fast and simple evaluator for mathematical expressions written in Java. More background information can be found in this blog post: http://andreas.haufler.info/2013/12/how-to-write-one-of-fastest-expression.html

Using it is as simple as:

Scope scope = Scope.create();   
Variable a = scope.getVariable("a");   
Expression expr = Parser.parse("3 + a * 4", scope);   
a.setValue(4);   
System.out.println(expr.evaluate());   
a.setValue(5);   
System.out.println(expr.evaluate());

For your convenience: A pre-built jar can be found in the build directory.

parsii is part of the open source initiative of scireum GmbH (http://www.scireum.de)
Check out or micro kernel called SIRIUS: https://github.com/scireum/sirius

About

Super fast and simple evaluator for mathematical expressions written in Java

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages