Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Working with Unevaluated Expressions
Author

Robby Villegas
Organization: Wolfram Research, Inc.
Conference

1999 Mathematica Developer Conference
Conference location

Champaign, IL
Description

Most experienced Mathematica programmers will eventually encounter tasks or applications in which they need to manipulate expressions without letting them evaluate. For instance, typesetting and interpretation rules, debugging programs, code analysis tools, and constructing code on the fly at run time are all areas of programming that require careful control of evaluation. Since Mathematica automatically evaluates arguments and return values of functions, building up a result without exposing intermediate stages of work to the evaluator requires subtle techniques that even seasoned Mathematica programmers sometimes find elusive. In this tutorial, I will demonstrate situations in which evaluation control is important, pointing out common pitfalls and providing useful tools and techniques along the way.
Subject

*Wolfram Technology > Programming
Keywords

replace, hold, wrapper, dummy symbols, Unevaluated
URL

http://library.wolfram.com/conferences/devconf99/villegas/UnevaluatedExpressions/index.html
Downloads Download Wolfram CDF Player

Download
UnevaluatedExpressions.nb (254.5 KB) - Mathematica Notebook