Need grammar for Tcl

Holger Peine <>
Wed, 9 Nov 1994 08:24:33 GMT

          From comp.compilers

Related articles
Need grammar for Tcl (Holger Peine) (1994-11-09)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Holger Peine <>
Keywords: parse, question
Organization: Compilers Central
Date: Wed, 9 Nov 1994 08:24:33 GMT

Hello everyone,

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 -
                                                                            regards, Holger.

Post a followup to this message

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