Semantic Challenges

Almost all of the features of Component Pascal were mapped to the CLR without difficulty and provide the exact semantics expected for the source language. Once the necessity for reference surrogates is accepted, the rest follows in a natural way.

There are a small number of language constructs that pose design issues for the implementation. A few of these are discussed here. None of these turns out to be a show-stopper, but all create challenges of different levels of seriousness.

Nonlocal Addressing

In Pascal-family languages, nested procedures are able to access the local variables and parameters of their enclosing procedures. Such access is called nonlocal addressing. Curiously, C-family languages do not have nested procedures ...

Get Programming in the .NET Environment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.