Next: Scripts
Up: Tcl: A Generic
Previous: Tcl Example
- Application gets commands from input stream and passes them to parser.
-
- Tcl parser divides commands into words, does substitutions.
-
- Command procedure executed.
-
- Command procedure interprets arguments, produces string result.
- Different commands assign different meanings to arguments.
- Application can add new commands in C or in Tcl.
CS488/688: Introduction to Interactive Computer Graphics
University of Waterloo
Computer Graphics Lab
cs488@cgl.uwaterloo.ca