Version française
Home     About     Download     Resources     Contact us    
Browse thread
using different lexers with one parser?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hendrik Tews <H.Tews@c...>
Subject: Re: [Caml-list] using different lexers with one parser?
Oliver Bandel <oliver@first.in-berlin.de> writes:

   Is it possible (without too much effort) to switch
   the lexer during parsing (from within the parser)?

Yes, see
http://caml.inria.fr/pub/ml-archives/caml-list/2003/09/3e7f3495840e2bc851b91c3dba8abab9.en.html

The main problem is the lookahead token.

Bye,

Hendrik