Enhancement proposal to generate vala grammar from parser source comments.
Submitted by geert jordaens
Link to original bug (#655566)
Description
Created attachment 192863 Patch
Add grammar comments to the valaparser source.
Current Quick and dirty perl script to parse the valaparser.vala source file and generate a grammar.xml file. The grammar.xml file is added to the index.xml file as a section.
/** => starts comment
- @@SECTION@@:
<text>
=> Starts a section - @@SUBSECTION@@:
<text>
=> Starts a section - @@TITLE@@:
<text>
=> Starts a section *<empty>
=> results in newline *<text>
=> results in<blockquote>
text</blockquote>
multiple *<text>
lines are trimmed and concatenated */ => ends comment
The 3 @@...@@ have to be present.
Patch 192863, "Patch":
0001-Enhancement-proposal-to-generate-vala-grammar-from-p.patch