Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtv committed Aug 19, 2018
1 parent 68ad4ec commit 57f3802
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ <h2 id="view-update-language-datalog">View Update Language: Datalog</h2>

<h2 id="datalog-syntax-for-relational-view-update">Datalog Syntax for Relational View Update</h2>

<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;automaton&gt; ::= &lt;trans&gt; &lt;inits&gt; &lt;acceptings&gt;
&lt;program&gt; ::= {&lt;statement&gt;}
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>&lt;program&gt; ::= {&lt;statement&gt;}
&lt;statement&gt; ::= &lt;rule&gt; | &lt;query&gt; | &lt;baserelation&gt;
&lt;rule&gt; ::= &lt;predicate&gt; ":-" &lt;literal&gt; { ("and", ",") &lt;literal&gt; } "."
&lt;rule&gt; ::= &lt;predicate&gt; ":-" &lt;literal&gt; { ("and"| ",") &lt;literal&gt; } "."
&lt;baserelation&gt; ::= "%s:" &lt;predicate&gt; "."
&lt;query&gt; ::= ("%v:" | "?-") &lt;predicate&gt; "."
&lt;literal&gt; ::= | &lt;predicate&gt; | "not" &lt;predicate&gt; | &lt;builtin&gt; | "not" &lt;builtin&gt;
Expand Down
3 changes: 1 addition & 2 deletions webpage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ BIRDS employ and extend the power of Datalog, which is a well known query langua
## Datalog Syntax for Relational View Update

```text
<automaton> ::= <trans> <inits> <acceptings>
<program> ::= {<statement>}
<statement> ::= <rule> | <query> | <baserelation>
<rule> ::= <predicate> ":-" <literal> { ("and", ",") <literal> } "."
<rule> ::= <predicate> ":-" <literal> { ("and"| ",") <literal> } "."
<baserelation> ::= "%s:" <predicate> "."
<query> ::= ("%v:" | "?-") <predicate> "."
<literal> ::= | <predicate> | "not" <predicate> | <builtin> | "not" <builtin>
Expand Down

0 comments on commit 57f3802

Please sign in to comment.