caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Parser/lexer for block indented code
@ 2010-02-02  7:33 Andrej Bauer
  2010-02-02  8:37 ` [Caml-list] " blue storm
  2010-02-02  8:44 ` Yoann Padioleau
  0 siblings, 2 replies; 4+ messages in thread
From: Andrej Bauer @ 2010-02-02  7:33 UTC (permalink / raw)
  To: caml-list

Would anyone happen to have lying around parser/lexer for block
indented code (a la Python and Haskell)? I am using ocamlyacc or
menhir, whichever.

It seems to be the best way to do deal with this is to put a filter
between lexer and parser that inserts appropriate hints. I would like
to avoid reinventing the wheel, hints and advice are appreciated.

With kind regards,

Andrej


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

end of thread, other threads:[~2010-02-02  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-02  7:33 Parser/lexer for block indented code Andrej Bauer
2010-02-02  8:37 ` [Caml-list] " blue storm
2010-02-02  8:44 ` Yoann Padioleau
2010-02-02  8:48   ` blue storm

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