This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Guile scanners and parsers
- To: djurfeldt at nada dot kth dot se
- Subject: Guile scanners and parsers
- From: Ian Grant <Ian dot Grant at cl dot cam dot ac dot uk>
- Date: Fri, 14 Jul 2000 08:24:21 +0100
- cc: Ian dot Grant at cl dot cam dot ac dot uk, guile at sourceware dot cygnus dot com
Hi Mikael,
I would be interested to see the work you did porting the flex scanner driver
to guile. I'm curious as to why you did it though: is there a great deal to
be gained by being able to change the scanner without recompiling C code? How
often will people want to change scanners? Also, don't you have have to
re-write the scanner generator to write out the scheme-style tables the new
drivers use?
I agree that it would be great to have parsers and scanners generated by
scheme code, but I wonder if it's on the critical path with respect to
providing translators for other syntaxes.
Ian
--
Ian Grant, Computer Lab., New Museums Site, Pembroke Street, Cambridge
Phone: +44 1223 334420 Personal e-mail: iang at pobox dot com