From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 17F5ABBCA for ; Mon, 31 Mar 2008 11:51:13 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0BAKZQ8EeDrhCRiGdsb2JhbACRQgEBAQ8mllQ X-IronPort-AV: E=Sophos;i="4.25,581,1199660400"; d="scan'208";a="10200852" Received: from smeltpunt.science.ru.nl ([131.174.16.145]) by mail1-smtp-roc.national.inria.fr with ESMTP; 31 Mar 2008 11:51:12 +0200 Received: from tandem.cs.ru.nl (tandem.cs.ru.nl [131.174.142.18]) by smeltpunt.science.ru.nl (8.13.7/5.23) with ESMTP id m2V9p7sm008054 for ; Mon, 31 Mar 2008 11:51:07 +0200 (MEST) Received: from tews by tandem.cs.ru.nl with local (Exim 4.63) (envelope-from ) id 1JgGfT-0006Ax-GD for caml-list@yquem.inria.fr; Mon, 31 Mar 2008 11:51:07 +0200 From: Hendrik Tews To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Looking for full-fledged C++ Parser with OCAML interface References: <47D0F155.4080909@ropas.snu.ac.kr> Date: Mon, 31 Mar 2008 11:51:07 +0200 In-Reply-To: <47D0F155.4080909@ropas.snu.ac.kr> (Soonho Kong's message of "Fri, 07 Mar 2008 16:40:05 +0900") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.63 on 131.174.16.145 X-Spam: no; 0.00; hendrik:01 tews:01 tews:01 full-fledged:01 parser:01 ocaml:01 nodes:01 wiki:01 wiki:01 nodes:01 cvs:01 gcc:01 univ-orleans:01 rewriting:01 ocaml-list:01 Hi, Soonho Kong writes: Olmar(http://www.cs.ru.nl/~tews/olmar/) was the best candidate among them. I have two questions about it. If you try Olmar I would be interested in your experience! Further, as the documentation is inexistent (there are almost no Olmar users), if you hit a problem, don't hesitate to ask me. For documenting the Olmar ast see the Elsa ast nodes pages in the Mozilla wiki (http://wiki.mozilla.org/Elsa_ast_nodes). There is not much additional information in there, but at least you can click through the interfaces and add your own findings. We know a bit more than what's in the wiki, so don't hesitate to ask on the oink-devel mailing list. If you try Olmar I would suggest that you use the cvs version, there have been lots of changes/improvements since the last release. 2. If anyone have used Olmar before, I'd like to listen to your experience with it. I'm curious of its tolerance with various C++ dialects, robustness, and efficiency on the code used in real world. Olmar relies on Elsa for parsing, so this is really a question about the capabilities of Elsa. The current Elsa version can't parse all new gcc headers, through I never run into this problem and use whatever header are installed on my system. For Mozilla this was a real problem, but Taras Glek's blog seems to indicate that they fixed most of those in their Elsa branch in the pork repository. A problem with Elsa is that the current maintainer makes it really difficult to contribute something back. Therefore everybody has there own (incompatible) Elsa branch. A problem with Olmar is that you cannot simply use it with a different Elsa branch. But I am working in that direction... However, my current contract ends this April and I might not have any time left for Olmar then. If you decide for Olmar you must be prepared to take over maintenance. David Teller writes: I personally haven't used it, but I'm pretty sure it's what Mozilla is using to rewrite their code for automatic exception rewriting. Which is a good sign. I am not completely sure, but I would be surprised, if Mozilla already uses Olmar. Sorry for the late reply, but I sometimes get overwhelmed by the traffic on the ocaml-list and then I am suddenly 500 messages behind... Bye, Hendrik Tews