https://github.com/greendelta/olca-formula
https://github.com/greendelta/olca-formula
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/greendelta/olca-formula
- Owner: GreenDelta
- License: mpl-2.0
- Created: 2023-06-06T19:18:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-06T19:19:18.000Z (about 3 years ago)
- Last Synced: 2025-02-10T03:46:19.591Z (over 1 year ago)
- Language: Java
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openLCA formula interpreter
This is the formula interpreter of openLCA. The formula parser
is generated from the grammar file
([FormulaParser.jj](./src/main/java/org/openlca/expressions/FormulaParser.jj))
using [JavaCC](https://javacc.org/). The last version was generated with
JavaCC 5.0 (see the `generate_parser.bat` script).
## Usage
Add this dependency to your project:
```xml
org.openlca
olca-formula
2.0.0
```
See the tests for examples how the interpreter can be used.