|Tcl/Tk grammar for lex/yacc/bison ? email@example.com (Elmar Gerwalin) (1999-08-24)|
|Re: Tcl/Tk grammar for lex/yacc/bison ? firstname.lastname@example.org (Tom Lane) (1999-08-27)|
|Re: Tcl/Tk grammar for lex/yacc/bison ? email@example.com (Paul Evans) (1999-09-05)|
|From:||" Paul Evans" <firstname.lastname@example.org>|
|Date:||5 Sep 1999 02:39:54 -0400|
My shot in the dark:
I'm fairly sure that a tcl extension that used breakpoint debugging
would be a fast way to deal with parsing Tcl. Or, if you dont want to
run the program at all you may be able to just overload some core
functions like TclEval() and still get by writing an extension, which
has benfits in extensibility and compatabilitiy.
I haven't done this, and it's been several versions since I fooloed
around with tcl innards so this may not be possible, but it may be
worth looking into. Maybe looking at exsisting Tcl tools that use
breakpoints or asking in comp.lang.tcl would help.
Elmar Gerwalin <email@example.com> wrote
> I'm looking for the Tcl/Tk grammar to use it with lex/yacc/ bison.
> Only simple Tcl/Tk code must be analyzed, so there's no need for a
> very professional tool.
Return to the
Search the comp.compilers archives again.