The ParseTools documentation

UpTcl/Tk
Sitemap
 
News
Download
Acknowledgements, Disclaimer
Installation
Commands
Future work

This document accompanies ParseTools 0.2, as distributed at April 27, 2001

ParseTools is both a C extension library to the script language tcl and a script library written in tcl itself. It provides:

  • Commands to build, query and manipulate abstract syntax trees.
  • A command lifting the tokenization of scripts into the script level itself. This part resides in the C extension and makes use of the parsing functionality as exported by the tcl core through its stub table.
  • Commands to convert syntax trees into other representations (nested lists, XML).
  • Commands to convert scripts into syntax trees (with tokens as intermediate step) and to transform them in basic ways (redundancy removal, deeper parsing of bracket commands, enhancing the structure of the tree, ...).

© Andreas Kupries
Last update at Fri Apr 27 00:47:30 CEST 2001