From: Matt Gushee <matt@gushee.net>
To: caml-list@inria.fr
Subject: Re: Another problem (was Re: [Caml-list] Ocamllex question)
Date: Mon, 24 Oct 2005 13:50:33 -0600 [thread overview]
Message-ID: <435D3B09.3030108@gushee.net> (raw)
In-Reply-To: <200510232337.59207.micha-1@fantasymail.de>
Michael Wohlwend wrote:
>>Not essential, but it would be nice to allow escaped quotes within such
>>strings:
> you write a extra lexer-rule which gets called when a " is seen; in this rule
> you read single chars and append them to a string buffer. If you see a
> backslash you handle the next character special; example:
> ....
Thank you! That was just the sort of example I needed ... and I
understand ocamllex a little better now.
Maybe you should post something like this on the Web. There's not much
in the way of practical examples for ocamllex.
--
Matt Gushee
Englewood, CO, USA
next prev parent reply other threads:[~2005-10-24 19:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-23 18:02 Ocamllex question Matt Gushee
2005-10-23 20:58 ` [Caml-list] " Michael Wohlwend
2005-10-23 21:12 ` Another problem (was Re: [Caml-list] Ocamllex question) Matt Gushee
2005-10-23 21:37 ` Michael Wohlwend
2005-10-24 19:50 ` Matt Gushee [this message]
2005-10-24 20:18 ` Michael Wohlwend
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=435D3B09.3030108@gushee.net \
--to=matt@gushee.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