Any info on LALL? (Brian Hawley)
Mon, 5 Jun 1995 02:29:31 GMT

          From comp.compilers

Related articles
Any info on LALL? (1995-06-05)
| List of all articles for this month |

Newsgroups: comp.compilers
From: (Brian Hawley)
Keywords: parse, question
Organization: Loyola University Chicago
Date: Mon, 5 Jun 1995 02:29:31 GMT
Status: RO

Hello all.

As schedule conflicts have kept me from taking a compiler course, I have been
experimenting on my own with the LL(1) compiler generator Coco/R. I find it to
be an interesting tool so far but I have been running into the limits of LL(1)
with a few of the languages that I have been playing with.

The Coco/L language used in this system allows you to embed semantic code in
the grammar; I have found this to be very useful. The problem is that this
ability would make for extremely wierd behavior if I made Coco into an LL(k)
generator. It occured to me that lookahead facilities would be simpler to
implement (and already exist in the scanner specification part of the
language), but I have never heard of LALL, just LALR.

Has anything been written on LALL? Would it be related to LR in some way?
Could anyone make any suggestions or point me to some information that you
think would help, or that you think I would find interesting?

I have looked at other tools, such as lex/flex, yacc/bison, RDP and various
stuff written in Scheme. I have found them very interesting and believe them
to be quite useful for various tasks. I like Coco because it is simple, the
language is easy to read and write, and it is implemented in Oberon, one of my
favorite languages. C is powerful and I program in it all of the time, but I
prefer to experiment in Oberon or Scheme (to each their own). I would like to
extend Coco to further my own knowledge, but I will probably release the
improved version if it is any good. If anyone has any suggestions, perhaps
from use of the system or from their own experience, I would have more
interesting things to do. I will eventually take a compiler course but I would
like the chance to learn a bit on my own before I do so.

If you have any suggestions, please reply by email or in this newsgroup as you
see fit. Thanks ahead of time!

Brian Hawley


Post a followup to this message

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