diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-06 13:44:40 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-06 13:44:40 +0000 |
commit | 2ed61cfb3ad3d404b9a44bbb3f4c8083b469ae22 (patch) | |
tree | 9939c67d95720a330bd7b884363d801cc7d5811d /docs/web/bnf.txt |
Move everything into trunk.
Also add branches and tags directories.
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@348 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'docs/web/bnf.txt')
-rw-r--r-- | docs/web/bnf.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/web/bnf.txt b/docs/web/bnf.txt new file mode 100644 index 0000000..e5be059 --- /dev/null +++ b/docs/web/bnf.txt @@ -0,0 +1,31 @@ +<tikzpicture> ::= "\begin{tikzpicture}" <properties>? + <expression>* + "\end{tikzpicture}" + +<expression> ::= <ignore> | <node> | <edge> | <bounding box> + +<ignore> ::= "\begin{pgfonlayer}" DELIMITED_STRING | + "\end{pgfonlayer}" + +<properties> ::= "[" <property> ("," <property>)* "]" + +<property> ::= <symbol>* "=" <value> | <symbol>* + +<symbol> ::= WORD | number + +<value> ::= <symbol>* | QUOTED_STRING + +<node> ::= "\node" <properties>? <node name> + "at" <coords> DELIMITED_STRING ";" + +<node name> ::= "(" (NATURAL_NUMBER | WORD) (".center")? ")" + +<coords> ::= "(" NUMBER "," NUMBER ")" + +<edge> ::= "\draw" <properties>? <node name> + "to" <edge node>? (<node name> | "()") ";" + +<edge node> ::= "node" <properties>? DELIMITED_STRING + +<bounding box> ::= "\path" "[use as bounding box]" <coords> + "rectangle" <coords> ";" |