You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,14 +12,51 @@ This is a pure-Ruby library for working with the [Shape Expressions Language][Sh
12
12
## Features
13
13
14
14
* 100% pure Ruby with minimal dependencies and no bloat.
15
-
* Fully compatible with [RDF 1.1][] specifications.
15
+
* Fully compatible with [ShEx][ShExSpec] specifications.
16
16
* 100% free and unencumbered [public domain](http://unlicense.org/) software.
17
17
18
+
## Description
19
+
20
+
The ShEx gem implements a [ShEx][ShExSpec] Shape Expression engine.
21
+
22
+
*`ShEx::Parser` parses ShExC formatted documents generating executable operators which can be serialized as [S-Expressions](http://en.wikipedia.org/wiki/S-expression).
23
+
*`ShEx::Algebra` executes operators against Any `RDF::Graph`, including compliant [RDF.rb][].
The ShExC parser uses the [EBNF][] gem to generate first, follow and branch tables, and uses the `Parser` and `Lexer` modules to implement the ShExC parser.
57
+
58
+
The parser takes branch and follow tables generated from the [ShEx Grammar](file.shex.html) described in the [specification][ShExSpec]. Branch and Follow tables are specified in the generated {ShEx::Meta}.
59
+
23
60
## Dependencies
24
61
25
62
*[Ruby](http://ruby-lang.org/) (>= 2.0)
@@ -30,7 +67,7 @@ This is a pure-Ruby library for working with the [Shape Expressions Language][Sh
30
67
The recommended installation method is via [RubyGems](http://rubygems.org/).
31
68
To install the latest official release of RDF.rb, do:
32
69
33
-
% [sudo] gem install shex # Ruby 2+
70
+
% [sudo] gem install shex
34
71
35
72
## Download
36
73
@@ -81,5 +118,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
81
118
This is free and unencumbered public domain software. For more information,
82
119
see <http://unlicense.org/> or the accompanying {file:LICENSE} file.
0 commit comments