THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. This software is the output of a research project. It was developed as proof-of-concept to explore, test & verify various components created in the LIGHTest project. It can thus be used to show the concepts of LIGHTest, and as a reference implementation.
Lightweight Infrastructure for Global Heterogeneous Trust management in support of an open Ecosystem of Stakeholders and Trust schemes.
For more information please visit the LIGHTest website: https://www.lightest.eu/
See the LIGHTest Deliverables.
- Java 1.8
- Maven ~3.6.0
- Interpreting
- Syntax checking
- Lexical checking
- Look at the Junit tests for examples (src/test/java/TestGenerator.java)
- You can call the interpreter with:
Interpreter m = new Interpreter(IAtvApiListenerImpl);
m.run(new String[]{pathToTpl, query, rootVariable})You need to implement a IAtvApiListener first (IAtvApiListenerImpl).
Provide the path to you TPL file relative to your project's root in pathToTpl.
And if your query is main(root)., then root is your rootVariable.
You can use the ATV library as a Maven dependency
<dependency>
<groupId>eu.lightest</groupId>
<artifactId>horn</artifactId>
<version>1.x-SNAPSHOT</version>
</dependency>- Apache License 2.0 (see LICENSE)
- © LIGHTest Consortium
