link colormap
July 1, 1997; Ralph E. Griswold
This file is in the public domain.
colormap(palette) returns a table that maps event-monitoring codes for allocation events into RGB specifications for Icon. The argument is the name of a palette, as given in the MemMon system. The default for palette is "standard".
[ Summary entry | Source code ]
link colortyp
July 1, 1997; Ralph E. Griswold
This file is in the public domain.
Links: typecode
[ Summary entry | Source code ]
procedure vis_setup: set up visualization window procedure em_setup: set up program to be monitored procedure context_setup: table of graphics contexts for mask procedure prog_name: name of monitored source program procedure em_end: hold event monitoring for event at end
link em_setup
March 3, 1997; Ralph E. Griswold
Requires: Version 9 MT Icon, instrumentation, and graphics
This file is in the public domain.
These procedures provide support for the routine parts of building
Icon execution monitors, including what's necessary for them to
run stand-alone as well as under the control of monitor coordinators
like eve and vc.
vis_setup(args[]) opens a window with attributes given
by args[]
em_setup(sp) loads sp as the program to be monitored
context_setup(mask) returns table of graphics context for
mask
prog_name() returns the name of the source program
for the SP set up by em_setup()
em_end() hold visualization window open if (a)
there is one and (b) monitoring is
stand alone
[ Summary entry | Source code ]
procedure opname: map virtual-machine code to name
link emutils
April 16, 1997; Ralph E. Griswold
This file is in the public domain.
evname(s) maps the event code to a standard descriptive phrases and vice versa.
[ Summary entry | Source code ]
link evaltree
June 19, 1994; Clinton Jeffery
Requires: MT Icon and event monitoring
This file is in the public domain.
Usage: evaltree(cset, procedure, record constructor) The record type must have fields node, parent, children See "A Framework for Monitoring Program Execution", Clinton L. Jeffery, TR 93-21, Department of Computer Science, The University of Arizona, July 30, 1993.
[ Summary entry | Source code ]
link evinit
November 5, 1995; Ralph E. Griswold
This file is in the public domain.
This file provides initialization for event monitors. This file is intended for use with event monitors running under MT Icon.
[ Summary entry | Source code ]
link evnames
December 26, 1995; Ralph E. Griswold
This file is in the public domain.
evnames(x) creates a two-way table. Indexed by an event code, it produces a descriptive phrase for the code. Indexed by the descriptive phrase it produces the event code. It returns the value for key x.
[ Summary entry | Source code ]
link evsyms
October 3, 1996; Ralph E. Griswold
This file is in the public domain.
evsyms() returns returns a two-way table. Indexed by an event code, it produces the symbol (global identifier name) for the code. Indexed by the symbol of the code, it produces the event code. This procedure is intended for use in event monitors under MT Icon.
[ Summary entry | Source code ]
procedure evtmap: map event code name to event value
link evtmap
July 15, 1995; Ralph E. Griswold
This file is in the public domain.
evtmap(s) returns the event-code value for the event string name s. It fails is s is not the name of an event value.
[ Summary entry | Source code ]
link evutils
November 23, 1997; Clinton L. Jeffery
Requires: Version 9 graphics
This file is in the public domain.
This may not be the latest version of this file, despite the date.
[ Summary entry | Source code ]
link hexlib
August 12, 1994; Clinton Jeffery
Requires: Version 9 graphics
This file is in the public domain.
This file is used by algae but is not finished or supported.
[ Summary entry | Source code ]
procedure loadfile: produce and load program
link loadfile
November 21, 1996; Ralph E. Griswold
Requires: MT-Icon, system(), pipes, /tmp
This file is in the public domain.
loadfile(exp, link, ...) produces and loads a program that generates the results of exp. The trailing arguments name link files needed for the expression. loadfile() returns a procedure that generates the results.
[ Summary entry | Source code ]
procedure opname: map virtual-machine code to name
link opname
August 8, 1997; Ralph E. Griswold
This file is in the public domain.
opnames() maps the virtual-machine instruction numbers to symbolic names.
[ Summary entry | Source code ]
link typebind
March 4, 1997; Ralph E. Griswold and Clinton L. Jeffery
Requires: Version 9 graphics
This file is in the public domain.
typebind(window, codes, opts) returns a table of graphic contexts bound to window with foreground colors keyed by type in the string of event codes. Codes for which there is no corresponding color are ignored. Note: Event monitoring global identifiers must be linked by the program that uses this procedure.
[ Summary entry | Source code ]
link typesyms
June 8, 1994; Ralph E. Griswold
See also: typecode.icn
This file is in the public domain.
typesyms() returns a table that maps type codes to event codes. The table can be subscripted either by one-character strings in the style of typecode() or by the integer values given by T_type globals. This procedure is intended for use with event monitors running under MT Icon.
[ Summary entry | Source code ]
procedure beacon: 1C visualization as blinking light procedure curves: 1C visualization as random curves procedure haystack: 2CS visualization as "haystack" procedure nova: 1C visualization as exploding star procedure pinwheel: 1C visualization as radar sweep procedure polygons: 1C visualization as random polygons procedure splatter: 2CS visualization as random dots procedure strip: 2CS visualization as scrolling lines procedure symsplat: 2CS visualization as symmetric random dots procedure vortex: 1C visualization as an aspirating vortex procedure web: 2CS visualization as a random walk
link viewpack
May 2, 2001; Ralph E. Griswold
Requires: Version 9 graphics
This file is in the public domain.
These procedures provide various ways of visualizing a stream of colors.
[ Summary entry | Source code ]