Commits

Anonymous committed ea48a9b

documentation update

Comments (0)

Files changed (4)

-PYTHON=python3.2
+PYTHON=python3.3
 
 .PHONY: docs test_docs clean push dist test register deploy
 

docs/grammar_elements.en.yhtml2

 
     Code | from __future__ import print_function
 
-    h2 id=common > Common methods for grammar elements
-
-    p   >>
-        If a method of the following is present in a grammar element, it will
-        override the standard behaviour.
-        >>
-
-    h3 id=override_parse > parse() class method of a grammar element
-
-    h4 > Synopsis
-    p > «parse(cls, parser, text, pos)»
-
-    p   >>
-        Overwrites the parsing behaviour. If present, this class method is
-        called at each place the grammar references the grammar element instead
-        of automatic parsing.
-        >>
-
-    glossary {
-        term "cls" > class object of the grammar element
-        term "parser" > parser object which is calling
-        term "text" > text to be parsed
-        term "pos" > «(lineNo, charInText)» with positioning information
-    }
-
-    h3 id=override_compose > compose() method of a grammar element
-
     h2 id=basic > Basic Grammar Elements
 
     h3 id=literals > str instances and Literal
 
     Code
         ||
-        >>> p = parse("hello", omit(word))
+        >>> p = parse("hello", omit(Symbol))
         >>> print(p)
         None
         >>> _
 
     Code
         ||
-        >>> compose('hello', omit(word))
+        >>> compose(Symbol('hello'), omit(Symbol))
         ''
         >>> _
         ||
 """
     }
 
+    h2 id=common > Common class methods for grammar elements
+
+    p   >>
+        If a method of the following is present in a grammar element, it will
+        override the standard behaviour.
+        >>
+
+    h3 id=override_parse > parse() class method of a grammar element
+
+    h4 > Synopsis
+    p > «parse(cls, parser, text, pos)»
+
+    p   >>
+        Overwrites the parsing behaviour. If present, this class method is
+        called at each place the grammar references the grammar element instead
+        of automatic parsing.
+        >>
+
+    glossary {
+        term "cls" > class object of the grammar element
+        term "parser" > parser object which is calling
+        term "text" > text to be parsed
+        term "pos" > «(lineNo, charInText)» with positioning information
+    }
+
+    h3 id=override_compose > compose() method of a grammar element
+
+    h4 > Synopsis
+    p > «compose(cls, parser)»
+
+    p   >>
+        Overwrites the composing behaviour. If present, this class method is
+        called at each place the grammar references the grammar element instead
+        of automatic composing.
+        >>
+
+    glossary {
+        term "cls" > class object of the grammar element
+        term "parser" > parser object which is calling
+    }
+
     div id="bottom" {
         "Want to download? Go to the "
         a "#top", "^Top^"; " and look to the right ;-)"

docs/heading.en.yinc2

 div id="headline" {
     p > pyPEG – a PEG Parser-Interpreter in Python
     div class="small" {
-        "pyPEG 2.12.0 of Tu Jul 02 2013 – Copyleft 2009-2013, "
+        "pyPEG 2.12.1 of Tu Aug 10 2013 – Copyleft 2009-2013, "
         a "http://fdik.org", "Volker Birk";
     }
     div id=python1 p
 from distutils.core import setup
 
-_version = '2.12.0'
+_version = '2.12.1'
 
 setup(
     name='pyPEG2',