Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlyacc loop?
Date: 28 Nov 2004 01:55:03 +1100	[thread overview]
Message-ID: <1101567302.5409.13.camel@pelican.wigram> (raw)
In-Reply-To: <1101547134.9291.605.camel@pelican.wigram>

On Sat, 2004-11-27 at 20:18, skaller wrote:
> I have an unambiguous ocamlyacc grammar which is dying
> on a particular input term with a stack overflow.

Argg. no it isn't. Please ignore my message.
The problem was actually in the routine *printing*
the parse tree. It said the (moral equivalent of):

let rec string_of_expr e =
match e with
| `AST_the q -> "the " ^ string_of_expr e

It should have said 'q' not 'e'... :)

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net




      reply	other threads:[~2004-11-27 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-27  9:18 skaller
2004-11-27 14:55 ` skaller [this message]

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=1101567302.5409.13.camel@pelican.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    /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