Hello,

 

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

the patch here :

https://sourceforge.net/tracker/?func=detail&aid=2738723&group_id=6556&atid=306556

 

I’m open to all suggestion for ameliorations.

 

Regards

 

   Vincent

 

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

 

Vincent,

 

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.

 

Darren

 

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

Hello,

  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.

 

 Regards

 

  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.

<ocaml.c.gz>------------------------------------------------------------------------------
_______________________________________________
Ctags-devel mailing list
Ctags-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ctags-devel

 

--

Darren Hiebert

http://darrenhiebert.com