Treffer: Safely extending procedure types to allow nested procedures as values (corrected version)
Title:
Safely extending procedure types to allow nested procedures as values (corrected version)
Authors:
Publisher Information:
Universität Ulm
Publication Year:
2005
Collection:
OPARU (OPen Access Repository of Ulm University)
Subject Terms:
Document Type:
Report
report
File Description:
application/pdf
Language:
English
DOI:
10.18725/OPARU-330
Availability:
Accession Number:
edsbas.6E52ED96
Database:
BASE
Weitere Informationen
The concept of nested procedure values, i. e., the possibility of using nested procedures as values of procedure types, is a useful and powerful concept. Nevertheless, it is not allowed in languages such as Modula-2 and Oberon(-2), because it creates a serious security hole when used inappropriately. To prevent such misuse while at the same time retaining the benefits of the concept, alternative language rules as well as a small language extension for Oberon-2 are suggested, which allow nested procedures to be safely used as values of procedure types and especially to pass them as parameters to other procedures.