POV-Ray : Newsgroups : povray.general : New SDL: support for lexical scanner generators : Re: New SDL: support for lexical scanner generators Server Time
31 Jul 2024 06:21:40 EDT (-0400)
  Re: New SDL: support for lexical scanner generators  
From: Bruno Cabasson
Date: 4 Oct 2007 16:15:00
Message: <web.470548f784df998676e65db0@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> Wolf wrote:
> > Hi,
> >

> > Please provide support for lexical scanner generators like ANTLR
> > (http://www.antlr.org) or Flex (http://flex.sourceforge.net) by providing a
> > grammar definition for them!
>
> Unfortunately scanner and parser generators are highly inefficient to
> maintain when it comes to non-trivial languages. That is why i.e. gcc
> nowadays has a hand-written parser implementation.
>
>  Thorsten

Right. Perhaps its is a chance for us that the new grammar is intended to be
simple (which does not mean 'limited'). However, if it apears that
ready-made lexical scanner generators are not OK for our purpose, writing a
hand-made one will not be very difficult to specialists. I hope ....

Bruno


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.