[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Yoann Padioleau <padator@w...> |
| Subject: | Re: [Caml-list] Parser/lexer for block indented code |
On Feb 1, 2010, at 11:33 PM, Andrej Bauer wrote: > > 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. There was some discussions about this in the past: http://caml.inria.fr/pub/ml-archives/caml-list/2009/06/628f99a8b518acc3fc9f3649b1901167.en.html google: ocaml layout indentation parsing > > 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 > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >