What's new? | Help | Directory | Sign in
Google
cat-language
The Cat Programming Language Project
  
  
  
  
    
Search
for
Updated May 22, 2007 by cdiggins
Labels: Glossary, Usage
PartialEvaluation  
About partial evaluation.

Partial Evaluation

Partial evaluation refers to the evaluation of sub-expressions. Given the expression [3 4 * +] #p a compiler will replace the sub-expression 3 4 * with the value 12 so that the result is: [12 +].

Only pure expressions can pre-evaluated.

The meta-command for performing partial-evaluation is #p.


Sign in to add a comment