help? how to implement a first and a follow fucntion in C ?

ppanneel@vub.ac.be (PANNEELS PASCAL)
29 Apr 1996 22:59:38 -0400

          From comp.compilers

Related articles
help? how to implement a first and a follow fucntion in C ? ppanneel@vub.ac.be (1996-04-29)
| List of all articles for this month |
From: ppanneel@vub.ac.be (PANNEELS PASCAL)
Newsgroups: comp.compilers
Date: 29 Apr 1996 22:59:38 -0400
Organization: Brussels Free Universities (VUB/ULB), Belgium
Keywords: parse, LL(1), C, question, comment

hi,


I'd like to implement two functions which give me for a LL(k) grammar the
first(k) and the follow(k) of a symbol. I want to do it in C...
but it's an hard work... ;-)
Is there anybody who's already done such a thing ?
thanks,


Pep.
[There are certainly LL(1) parser generators available in source form, so you
could try to extract the code from one of them. Try antlr from PCCTS. -John]
--


Post a followup to this message

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