caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chris Yocum <cyocum@gmail.com>
To: Basile Starynkevitch <basile@starynkevitch.net>
Cc: oliver@first.in-berlin.de, caml-list@inria.fr
Subject: Re: [Caml-list] my own exceptions from ocamlyacc?
Date: Mon, 11 Oct 2010 14:25:52 +0100	[thread overview]
Message-ID: <4CB31060.9000706@gmail.com> (raw)
In-Reply-To: <20101011145529.8f6dec2f.basile@starynkevitch.net>

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

I had a similar problem.  The solution was to create another module
which was opened inside the Parser module.  This way you can add your
own interface on top of the Parser/Lexer module.  I hope this helps.

Chris

On 11/10/10 13:55, Basile Starynkevitch wrote:
> On Mon, 11 Oct 2010 12:22:49 +0200
> oliver@first.in-berlin.de wrote:
>>
>> the header-section from ocamlyacc appears in the
>> *.ml file of the parser, but not in the mli-file.
> 
> 
> Maybe menhir is better in that respect (I don't know). Did you try it?
> http://gallium.inria.fr/~fpottier/menhir/
> 
> 
> Cheers.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2010-10-11 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11 10:22 oliver
2010-10-11 12:55 ` [Caml-list] " Basile Starynkevitch
2010-10-11 13:25   ` Chris Yocum [this message]
2010-10-11 13:45     ` oliver
2010-10-11 13:50   ` oliver
2010-10-11 20:33     ` Dario Teixeira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CB31060.9000706@gmail.com \
    --to=cyocum@gmail.com \
    --cc=basile@starynkevitch.net \
    --cc=caml-list@inria.fr \
    --cc=oliver@first.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).