caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Ulex and menhir
@ 2006-10-26 15:18 Matthieu Dubuget
  2006-10-26 15:29 ` Ulex and dypgen Stefano Zacchiroli
  0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Dubuget @ 2006-10-26 15:18 UTC (permalink / raw)
  To: caml-list

Hello,

is there a way to have menhir (or ocamlyacc) use a lexer produced with ulex?

Menhir gives me:
val foo :  (Lexing.lexbuf -> token) -> Lexing.lexbuf -> My.t

I would like to have something like:
val foo :  (Ulexing.lexbuf -> token) -> Ulexing.lexbuf -> My.t

instead.

Salutations

Matt


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Ulex and dypgen
  2006-10-26 15:18 Ulex and menhir Matthieu Dubuget
@ 2006-10-26 15:29 ` Stefano Zacchiroli
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Zacchiroli @ 2006-10-26 15:29 UTC (permalink / raw)
  To: Inria Ocaml Mailing List

On Thu, Oct 26, 2006 at 05:18:02PM +0200, Matthieu Dubuget wrote:
> is there a way to have menhir (or ocamlyacc) use a lexer produced with ulex?

Actually, I've to pose the very same question for dypgen.

More generally, what about an effort like what has been done for
standardizing OO interfaces for I/O, this time to standardize the
interface of lexers as used by the plethora of parsing engines nowadays
available for OCaml?

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-26 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 15:18 Ulex and menhir Matthieu Dubuget
2006-10-26 15:29 ` Ulex and dypgen Stefano Zacchiroli

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).