next up previous contents
Next: 2.4 Abstract syntax tree Up: 2. The MURZ language Previous: 2.2 Syntax

2.3 Semantics

MURZ semantics is very simple: static scoping, with stacked environments, and dynamic local environment (according to [3]).

It is interesting to describe our implementation of procedures, that are actually macros: procedure body is copied in the place of every call. This let us to carry on our analysis even crossing the procedure boundaries, and to optimize every procedure call, using the information about the actual parameters. More in detail, for every call:



Diego
2000-05-17