Skip to main content

Coercions

A simple optimizer that removes coercions that are not needed. They may result from a sloppy code-generator or function call resolution decision. For example:

       v:= calc.int(23);

becomes a single assignment without function call.

The primary role is a small illustration of coding an optimizer algorithm.