Skip to content

Releases: weso/shex-lite

ShEx Lite 2.0 Early Beta Release

17 Apr 14:45
8813c75
Compare
Choose a tag to compare
Pre-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

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

19 Mar 19:46
2d26457
Compare
Choose a tag to compare

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.