caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] Ulex and dypgen
@ 2006-10-26 19:09 Emmanuel Onzon
  0 siblings, 0 replies; only message in thread
From: Emmanuel Onzon @ 2006-10-26 19:09 UTC (permalink / raw)
  To: caml-list

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

You can use ulex instead of ocamllex with dypgen now.
An example is included in the distribution.

I've changed the interfaces, now the type is :

val dyp_parse : ('a -> token) -> 'a -> your_tree list

instead of

val dyp_parse : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> your_tree list


Regards

Emmanuel Onzon


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-26 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 19:09 [Caml-list] Ulex and dypgen Emmanuel Onzon

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