• This repository has been archived on 27/Sep/2022
  • Stars
    star
    210
  • Rank 187,585 (Top 4 %)
  • Language
    Java
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Super fast and simple evaluator for mathematical expressions written in Java

parsii

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

Maven

parsii is available under https://mvn.scireum.com.

<dependency>
  <groupId>com.scireum</groupId>
  <artifactId>parsii</artifactId>
  <version>...</version>
</dependency>

More Repositories

1

s3ninja

S3 ninja emulates the Amazon S3 API for developement and test purposes
Java
475
star
2

sirius-kernel

Provides common core classes and the dependency injection microkernel powering all SIRIUS applications
Java
37
star
3

sirius-web

Provides a modern and scalable web server as SIRIUS module
Java
22
star
4

SCITokenSearchField

Objective-C
21
star
5

hildeguard

Signs public keys (id_rsa.pub) usign a CA certificate to permit ssh access to users authenticated via LDAP (Active Directory)
Java
20
star
6

sirius-biz

Provides a framework for building modern web based business applications
Java
17
star
7

rythm_plugin

Rythm Template Syntax Support for JetBrains IntelliJ
Java
16
star
8

server-sass

A simple implementation of a compiler which transforms SASS to CSS files
Java
12
star
9

jupiter

Jupiter is a framework for wrapping compute or memory intense components to provide them as high throughput and ultra low latency services to applications using the Redis RESP protocol
Rust
11
star
10

sirius-db

Provides access to popular databases like JDBC/SQL, MonoDB, Redis or Elasticsearch.
Java
7
star
11

jpod

A fork of jPod originally developed by intarsys. jPod is a rich PDF manipulation and rendering framework.
Java
6
star
12

sds

Software Distribution System
Java
6
star
13

datadonkey

DataDonkey handles XML, CSV and Excel files
Java
5
star
14

sirius-search

Provides a thin layer above Elasticsearch (Fluent Query API, Automatic Mapping, Utilities)
JavaScript
5
star
15

sirius-ipl

Provides all files required to start/stop and manage a SIRIUS application
Java
4
star
16

sirius-chat-sample

Provides a set of tutorials and sample code which uses the SIRIUS framework to build a basic chat server.
Java
3
star
17

mac-playbook

Ansible Playbook
Shell
1
star
18

sirius-parent

Maven parent poms and build utilities
1
star
19

buzz

scireum BUZZ
JavaScript
1
star