|simple grammar analysis tool needed firstname.lastname@example.org (1993-11-16)|
|From:||email@example.com (Gary Funck)|
|Organization:||Intrepid Technology, Inc.|
|Date:||Tue, 16 Nov 1993 17:25:18 GMT|
Does anyone know of a tool that accepts a YACC grammar as input
and generates various FIRST/FOLLOW/LAST sets for that grammar?
I'm hand coding a scanner, and there are some ambiguities that
have to be resolved at the scanner level, using knowledge
of possible previous/next tokens. I'd prefer not to have
to do this analysis by hand, or to hack on bison/yacc to get the
result. (I wrote a tool like this a long time ago,
and know its 'somewhere' on one of those 5-1/2" DOS disks
sitting in a big box in the closet, but am pretty sure it
would be easier to write it over again than to look for it :-) ).
| Gary Funck firstname.lastname@example.org [uunet!uupsi!intrpd!gary]
| Intrepid Technology Inc., Mountain View CA (415) 964-8135
Return to the
Search the comp.compilers archives again.