public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Tcl parser
@ 2001-08-08 13:24 Emmanuelle
  2001-08-08 16:45 ` Mo DeJong
  0 siblings, 1 reply; 4+ messages in thread
From: Emmanuelle @ 2001-08-08 13:24 UTC (permalink / raw)
  To: sourcenav

Hi:

I'm a new user of Source Navigator; I'm using SN-4.5.2 on a Mandrake 7.2
Linux box. This is a very useful tool for my job. I'm vorking on a Tcl
application (ACS, www.arsdigita.com) in which procedures can be declared
with 'proc', 'proc_doc' or 'ad_proc'. 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.
Thanks in advance.
--
Emmanuelle

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Tcl parser
@ 2001-08-08 16:49 Keogh, Craig
  2001-08-16  5:21 ` Emmanuelle
  0 siblings, 1 reply; 4+ messages in thread
From: Keogh, Craig @ 2001-08-08 16:49 UTC (permalink / raw)
  To: 'Emmanuelle'; +Cc: 'sourcenav@sourceware.cygnus.com'

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-16  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-08 13:24 Tcl parser Emmanuelle
2001-08-08 16:45 ` Mo DeJong
2001-08-08 16:49 Keogh, Craig
2001-08-16  5:21 ` Emmanuelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).