Posted By:
Robin_Jarry
Posted On:
Friday, May 27, 2011 12:22 PM
Hello everyone, I'm trying to write a grammar for the reStructuredText markup language from the Markup Specification in docutils documentation.. I reused some parts of the Python 2.3 grammar as indentation also matters in reStructuredText but I can't get my grammar to work. Especially because I have to match lines of text which may contain any character. Here is my grammar (which is NOT working for now) and an example of RST file . I am desperate for help, can someone do something for me? :-) Thank you in advance, Robin
More>>
Hello everyone,
I'm trying to write a grammar for the
reStructuredText
markup language from the
Markup Specification
in docutils documentation..
I reused some parts of the
Python 2.3
grammar as indentation also matters in
reStructuredText
but I can't get my grammar to work. Especially because I have to match lines of text which may contain
any
character.
Here is
my grammar
(which is
NOT
working for now) and
an example of RST file
.
I am desperate for help, can someone do something for me? :-)
Thank you in advance,
Robin
<<Less