Re: Variable ontology (was: Q: Pointers in _________________________________________________________________ From steve@tcltk.anu.edu.au (Steve Ball) Organization Plume Project, DCS, ANU Date 7 Apr 1998 09:30:33 +1000 Newsgroups comp.lang.tcl Message-ID <6gboip$111@dcs-reserved3.anu.edu.au> References 1 _________________________________________________________________ In article fsf@bluepeak.westend.com, Andreas Kupries wr ites: >If memory serves me well, Tcl-only HTML renderers use a combination of >regexp and subst to convert the markup into commands, which then >render the data into text widget. Nope, the HTML parser/renderer uses a regsub+eval combo. It's the entity resol ver that uses regsub+subst (for example). >I use the same trick in my autodoc application to convert >crossreferences like > > "bla bla ... .. tralala" > >into > > "bla bla ... [classRef FOO] .. tralala" > >which then produces the correct hyperlink in a 'subst'-run. Just like that... Cheers, Steve Ball -- Steve Ball, Computer Science Dept., ANU Steve.Ball@tcltk.anu.edu.au Ph. +61 2 62495146 Fax: +61 2 62490010 http://tcltk.anu.edu.au/steve/ Snail-mail: Canberra ACT 0200, AUSTRALIA http://plume.browser.org/ "It is a dead parrot, it has ceased to be."