|Need grammar for Tcl email@example.com (Holger Peine) (1994-11-09)|
|From:||Holger Peine <firstname.lastname@example.org>|
|Date:||Wed, 9 Nov 1994 08:24:33 GMT|
The following seems not an uncommon demand to me, though
I did not find it in the tcl-FAQ (version 6.1. as of Sept 28, 1994)
or comp.compilers-FAQ (as of Nov 94):
I intend to reimplement the Tcl-interpreter (specifically, to replace
its recursive-descent strategy by a stack-machine), and I would like
to do it with an explicit grammar right from the beginning, in order
to incorporate future changes to tcl with less effort. So my question
Does anyone have or know of a Tcl-grammar usable as input for a
yacc-like parser generator (and, of course, also something for
a lex-like scanner generator) ?
Specifically, I intend to use gnu-bison and gnu-flex for this.
Help would be nice -
Return to the
Search the comp.compilers archives again.