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=HTML_MESSAGE autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 10A74BBC1 for ; Fri, 2 May 2008 22:15:41 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYAAKsSG0iPtnwlmmdsb2JhbACCOzCOeQEBAQEBCAUIBxEFmV0 X-IronPort-AV: E=Sophos;i="4.27,428,1204498800"; d="scan'208,217";a="12197800" Received: from mga14.intel.com ([143.182.124.37]) by mail3-smtp-sop.national.inria.fr with ESMTP; 02 May 2008 22:15:40 +0200 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 02 May 2008 13:15:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.27,428,1204531200"; d="scan'208,217";a="241281156" Received: from orsmsx335.amr.corp.intel.com (HELO orsmsx335.jf.intel.com) ([10.22.226.40]) by azsmga001.ch.intel.com with ESMTP; 02 May 2008 13:15:37 -0700 Received: from orsmsx411.amr.corp.intel.com ([10.22.226.47]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 2 May 2008 13:15:37 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8AC91.48BDB546" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: Camlp4 lexers (>= 3.10) Date: Fri, 2 May 2008 13:15:36 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Camlp4 lexers (>= 3.10) Thread-Index: AciskUhuLMpbfMvAQY6ET88VuwA/NQ== From: "O'Leary, John W" To: X-OriginalArrivalTime: 02 May 2008 20:15:37.0220 (UTC) FILETIME=[48D4CC40:01C8AC91] X-Spam: no; 0.00; camlp:01 lexers:01 lexer:01 camlp:01 parser:01 wiki:01 ocaml:01 lexer:01 --john:01 parser:01 wiki:01 ocaml:01 --john:01 arial:96 arial:96 This is a multi-part message in MIME format. ------_=_NextPart_001_01C8AC91.48BDB546 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Does anyone have an example that would show me how to connect my own lexer to a Camlp4 parser? =20 I've scoured the wiki (http://brion.inria.fr/gallium/index.php/Camlp4) but all the examples there use the ocaml lexer. =20 Thanks, --John O'Leary ------_=_NextPart_001_01C8AC91.48BDB546 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Does anyone have an example that would show me how to connect my own lexer to a Camlp4 parser?

 

I’ve scoured the wiki (http://brion.inri= a.fr/gallium/index.php/Camlp4) but all the examples there use the ocaml = lexer.

 

Thanks,

--John O’Leary

------_=_NextPart_001_01C8AC91.48BDB546--