Releases: weso/shex-lite
ShEx Lite 2.0 Early Beta Release
Primary Focus: Shape expressions subset definition
This release focuses on defining the foundations for the future of language. Specifically, define the subset of the grammar that will be part of shex-lite.
As part of this release, therefore support for grammar and syntactic and semantic validations is included.
- Grammar definition. The grammar is defined so that 80% of the most widely used functions of the shape expression language can be achieved.
- Syntactic validation. In the compiler it is included a very first version of the compiler that allows to detect syntactic errors in given schemes.
- Semantic validation. It is also included in this release a very first version of the semantic validation that provides help to developers to fix their schemas to avoid runtime errors.
List of issues included in this release
- SLI-0028
- SLI-0029
- SLI-0030
- SLI-0031
- SLI-0032
- SLI-0033
- SLI-0034
- SLI-0035
- SLI-0036
- SLI-0037
- SLI-0038
- SLI-0041
- SLI-0042
- SLI-0046
- SLI-0050
- SLI-0059
- SLI-0060
- SLI-0066
- SLI-0070
- SLI-0074
- SLI-0075
- SLI-0076
- SLI-0077
- SLI-0078
- SLI-0079
Other Improvements
This release also includes a very basic CLI application that allows to use the compiler com the command line tool. The CLI tool includes the following instruction set:
Usage
shexlc [options] <files> ... : compile and generate target domain model objects
Options
-gd, --generate-domain-model-objects : if present will generate domain object models
-hw, --hide-warnings : if present will hide the warnings
Arguments
<files> : ShEx-Lite sources to compile
Usage Example
In order to execute this release two example shexl files are attached. To execute from CLI you just have to write:
java -jar shexlc-2.0-beta.jar
This will print the help page with all the instructions to compile the included files.
ShEx Lite 1.0
This is an early release tagged as 1.0 used as a prof of concept of the development that is being carried out in the 2.0 version.