After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655566 - Enhancement proposal to generate vala grammar from parser source comments.
Enhancement proposal to generate vala grammar from parser source comments.
Status: RESOLVED OBSOLETE
Product: vala
Classification: Core
Component: Documentation
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-29 10:23 UTC by geert jordaens
Modified: 2018-05-22 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (53.53 KB, patch)
2011-07-29 10:23 UTC, geert jordaens
none Details | Review
Example of generated html file (30.68 KB, text/html)
2011-07-29 10:25 UTC, geert jordaens
  Details

Description geert jordaens 2011-07-29 10:23:12 UTC
Created attachment 192863 [details] [review]
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.
Comment 1 geert jordaens 2011-07-29 10:25:13 UTC
Created attachment 192864 [details]
Example of generated html file

No special formatting is applied other than the already xsl/css present in the doc/vala directory
Comment 2 GNOME Infrastructure Team 2018-05-22 14:06:14 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/216.