looking for help on pre-release of GLA- lexical analyzer generator

Bob Gray <boulder!bob@ncar.UCAR.EDU>
Sun, 7 Aug 88 18:15:21 MDT

          From comp.compilers

Related articles
looking for help on pre-release of GLA- lexical analyzer generator boulder!bob@ncar.UCAR.EDU (Bob Gray) (1988-08-07)
| List of all articles for this month |
Return-Path: <bob@boulder.Colorado.EDU>
Date: Sun, 7 Aug 88 18:15:21 MDT
From: Bob Gray <boulder!bob@ncar.UCAR.EDU>

I am looking for a couple of people who have the time and
interest to look at my GLA distribution and give me feedback
before I make it generally available.


GLA is a generator for lexical analyzers and is described in
Summer USENIX 1988 Proceedings.
It produces directly executable code instead of interpreted
tables (as does lex and flex). The token specification language
of GLA is quite different from lex. We distinguish between
literal and non-literal tokens. When a literal token is
scanned, the only action possible is to return a code for it.
When a non-literal token is scanned, a "processor" can be
called with the token as an argument and finally a code is returned.
Several common processors are provided with GLA, such as putting
an identifier into a hash table, making an integer from a series
of digits, storing strings...etc.


This specification language is much more constrained than
lex which allows any C code, but we believe that the mechanisms
are appropriate for many lexical analysis tasks. The advantage of GLA
is a much more concise and easy to write specification,
and fast execution speed.


This distribution is about 300K, and is FTP'able. If interested
in helping out, send me mail. Thanks
bob@boulder.colorado.edu
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.