Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] lexing and parsing languages with file inclusion
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: James Leifer <James.Leifer@i...>
Subject: [Caml-list] lexing and parsing languages with file inclusion

I'm looking for a good way, when using ocamllex and ocamlyacc, to
parse a language that allows file inclusion, e.g.

   #include "foo"

I'd like to get the filename, line number, and character position
right when reporting errors.

Suggestions and pointers would be gratefully received.
James Leifer
INRIA Rocquencourt

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: