|help? how to implement a first and a follow fucntion in C ? firstname.lastname@example.org (1996-04-29)|
|From:||email@example.com (PANNEELS PASCAL)|
|Date:||29 Apr 1996 22:59:38 -0400|
|Organization:||Brussels Free Universities (VUB/ULB), Belgium|
|Keywords:||parse, LL(1), C, question, comment|
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 ?
[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]
Return to the
Search the comp.compilers archives again.