Extending traces with OAT1: An object attribute trace package for Tcl/Tk2

Alex Safonov, Joseph A. Konstan, John V. Carlis, Brian Bailey

Research output: Contribution to conferencePaperpeer-review

Abstract

Tcl supports variable traces, which associate arbitrary scripts with variable reads, writes and unsets. We developed OAT (Object Attribute Traces), a protocol for extending traces to attributes of arbitrary Tcl “objects.” We wrote several OAT-based extensions including TkOAT, which provides traces on attributes of Tk widgets and canvas items. The OAT protocol and derived extensions bring the benefits of more expressive constraints to Tcl/Tk applications by providing extended traces. OAT requires no changes to the Tcl core and is implemented as a loadable library; OAT-based extended trace packages introduce minimal changes to the code of existing extensions (Tk, CMT, etc.). The new version of our formula manager, TclProp, takes advantage of extended traces provided by OAT.

Original languageEnglish (US)
StatePublished - 1997
Event5th Annual Tcl/Tk Workshop 1997, TCL/TK 1997 - Boston, United States
Duration: Jul 14 1997Jul 17 1997

Conference

Conference5th Annual Tcl/Tk Workshop 1997, TCL/TK 1997
CountryUnited States
CityBoston
Period7/14/977/17/97

ASJC Scopus subject areas

  • Computer Science Applications
  • Software

Fingerprint Dive into the research topics of 'Extending traces with OAT<sup>1</sup>: An object attribute trace package for Tcl/Tk<sup>2</sup>'. Together they form a unique fingerprint.

Cite this