|LL(1) and common-heads... email@example.com (1995-12-28)|
|LL(1) and common-heads... firstname.lastname@example.org (Gabor DEAK JAHN) (1995-12-30)|
|Re: LL(1) and common-heads... email@example.com (1996-01-12)|
|Re: LL(1) and common-heads... firstname.lastname@example.org (1996-01-14)|
|Re: LL(1) and common-heads... Osman.Buyukisik@ae.ge.com (U-E59264-Osman Buyukisik) (1996-01-15)|
|From:||email@example.com (Michael Parkes)|
|Date:||12 Jan 1996 17:25:22 -0500|
|Organization:||Sense Networking Seattle (www.oz.net)|
> Hi all, I've written an actual assembler for this new OS that
>a bunch of us are trying to get off the ground (originally from
>r.g.p.). Anyhow, the assembler works fine, but I'm not using any
>parsing algorithms like LL(1) or SLR. I was wondering if it would be
>of any use writing it using LL(1). Or would anyone suggest a better
It looks to me like you are using the wrong tool for the job. If
I understand you correctly this is a semantic problem and should be dealt
with as such. Try using and attribute grammar that supports 'sparse'
tables. This will allow you to define the valid semantic mappings and
will vastly simplify the syntax processing. The basic job should only
require about 2,000 lines.
Return to the
Search the comp.compilers archives again.