Destination-driven Code Generation Destination-driven Code Generation

Destination-driven code generation is a simple top-down technique that allows the code generated for a program phrase to depend upon its context in an abstract syntax tree. The context is encapsulated in a data destination and a control destination. The data destination speciies where the value computed by an expression is to be stored, while the control… CONTINUE READING