Tcl parser
Keogh, Craig
keogh@rlmsystems.com.au
Wed Aug 8 16:49:00 GMT 2001
> I want to modify the Tcl parser
> that it can parse procedures declared that way but I need a
> little help
> to do that; the source code of SN is very large and I don't know from
> where to start.
The TCL parser can be found in:
/source/snavigator/parser/tcl
There is documentation on how to add parsers:
/source/snvavigator/doc/html/enterprise/progref
But the TCL parser does not follow use this API. Do as we say, not as we do.
It inserts symbols with put_symbol. The TCL parsers uses a parser-generator
/ compiler-compiler, but it doesn't use yacc/bison. Puma or something. If
you wish to modify the code, you will need this tool.
Happy hacking,
Craig Keogh
More information about the Sourcenav
mailing list