I’ve finally added scope information to the OCaml parser and submitted

the patch here :



I’m open to all suggestion for ameliorations.






De : Darren Hiebert [mailto:dhiebert@users.sourceforge.net]
Envoyé : vendredi 3 avril 2009 06:55
À : Vincent Berthoux
Cc : ctags-devel@lists.sourceforge.net
Objet : Re: [Ctags-devel] OCaml parser proposal




The appropriate place to post the parse is in the patches portion of the ctags SourceForge page.


The c.c parser is most definately NOT a good example to use for a new parsers. It is a monster.


Best bet is to examine the other language parsers, like pascal.c and python.c, as typical simple examples.




On Apr 2, 2009, at 6:49 AM, Vincent Berthoux wrote:


  I’ve finished the writing of an OCaml parser for ctags, it handle the language pretty well and also OCaml’s alternative syntax.


  The parser maintain a context information internally but doesn’t output it now. I would like to do it but I don’t really know how/what to output, and looking at c.c didn’t really helped me. I’d happily enhance the parser if someone give me pointer on that J.




  Vincent Berthoux.


PS : I don’t really know where to post the file, it’s in attachment, but if you need it, you can ask me to send it.

Ctags-devel mailing list



Darren Hiebert