UnQL

Check-in [33c3f4b80d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add fragments to the syntax diagram page: /doc/trunk/doc/syntax/all.wiki
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 33c3f4b80d452b5f84be2ee0d1765842d1f74f5a
User & Date: drh 2011-07-21 18:56:27
Context
2011-07-21
18:59
Add support for DISTINCT. check-in: 4e6e4ec201 user: dan tags: trunk
18:56
Add fragments to the syntax diagram page: /doc/trunk/doc/syntax/all.wiki check-in: 33c3f4b80d user: drh tags: trunk
18:24
Internal changes to aggregate queries. check-in: 5fad391dbc user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/syntax/all.wiki.

1

2
3

4
5

6
7

8
9

10
11

12
13

14
15

16
17

18
19

20
21

22
23

24
25

26
27

28
29

30
31

32
33
<title>UnQL Syntax Summary</title><nowiki>

<h3>unql-stmt:</h3>
<img src="unql-stmt.gif">

<h3>select-stmt:</h3>
<img src="select-stmt.gif">

<h3>select-core:</h3>
<img src="select-core.gif">

<h3>data-source:</h3>
<img src="data-source.gif">

<h3>compound-operator:</h3>
<img src="compound-operator.gif">

<h3>create-collection-stmt:</h3>
<img src="create-collection-stmt.gif">

<h3>drop-collection-stmt:</h3>
<img src="drop-collection-stmt.gif">

<h3>insert-stmt:</h3>
<img src="insert-stmt.gif">

<h3>update-stmt:</h3>
<img src="update-stmt.gif">

<h3>delete-stmt:</h3>
<img src="delete-stmt.gif">

<h3>property:</h3>
<img src="property.gif">

<h3>expr:</h3>
<img src="expr.gif">

<h3>begin-stmt:</h3>
<img src="begin-stmt.gif">

<h3>commit-stmt:</h3>
<img src="commit-stmt.gif">

<h3>rollback-stmt:</h3>
<img src="rollback-stmt.gif">

<h3>pragma-stmt:</h3>
<img src="pragma-stmt.gif">

>


>


>


>


>


>


>


>


>


>


>


>


>


>


>


>


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<title>UnQL Syntax Summary</title><nowiki>
<a name="unql-stmt"></a>
<h3>unql-stmt:</h3>
<img src="unql-stmt.gif">
<a name="select-stmt"></a>
<h3>select-stmt:</h3>
<img src="select-stmt.gif">
<a name="select-core"></a>
<h3>select-core:</h3>
<img src="select-core.gif">
<a name="data-source"></a>
<h3>data-source:</h3>
<img src="data-source.gif">
<a name="compound-operator"></a>
<h3>compound-operator:</h3>
<img src="compound-operator.gif">
<a name="create-collection-stmt"></a>
<h3>create-collection-stmt:</h3>
<img src="create-collection-stmt.gif">
<a name="drop-collection-stmt"></a>
<h3>drop-collection-stmt:</h3>
<img src="drop-collection-stmt.gif">
<a name="insert-stmt"></a>
<h3>insert-stmt:</h3>
<img src="insert-stmt.gif">
<a name="update-stmt"></a>
<h3>update-stmt:</h3>
<img src="update-stmt.gif">
<a name="delete-stmt"></a>
<h3>delete-stmt:</h3>
<img src="delete-stmt.gif">
<a name="property"></a>
<h3>property:</h3>
<img src="property.gif">
<a name="expr"></a>
<h3>expr:</h3>
<img src="expr.gif">
<a name="begin-stmt"></a>
<h3>begin-stmt:</h3>
<img src="begin-stmt.gif">
<a name="commit-stmt"></a>
<h3>commit-stmt:</h3>
<img src="commit-stmt.gif">
<a name="rollback-stmt"></a>
<h3>rollback-stmt:</h3>
<img src="rollback-stmt.gif">
<a name="pragma-stmt"></a>
<h3>pragma-stmt:</h3>
<img src="pragma-stmt.gif">

Changes to doc/syntax/bubble-generator.tcl.

646
647
648
649
650
651
652

653
654
655
656
657
658
659

proc draw_all_graphs {} {
  global all_graphs
  set f [open all.wiki w]
  puts $f "<title>UnQL Syntax Summary</title><nowiki>"
  foreach {name graph} $all_graphs {
    if {[regexp {^X-} $name]} continue

    puts $f "<h3>$name:</h3>"
    puts $f "<img src=\"$name.gif\">"
    draw_graph $name $graph 0
    set img($name) 1
    set children($name) {}
    set parents($name) {}
  }







>







646
647
648
649
650
651
652
653
654
655
656
657
658
659
660

proc draw_all_graphs {} {
  global all_graphs
  set f [open all.wiki w]
  puts $f "<title>UnQL Syntax Summary</title><nowiki>"
  foreach {name graph} $all_graphs {
    if {[regexp {^X-} $name]} continue
    puts $f "<a name=\"$name\"></a>"
    puts $f "<h3>$name:</h3>"
    puts $f "<img src=\"$name.gif\">"
    draw_graph $name $graph 0
    set img($name) 1
    set children($name) {}
    set parents($name) {}
  }