Re ective Building Blocks for Modular

نویسنده

  • Suresh Jagannathan
چکیده

The formal deenition of any namespace device found in a programming language can be given in terms of transformations on a semantic environment. It is therefore worthwhile to consider the implications of incorporating environments as bona de data objects in a programming system. Because of their expressive power, environments can be easily abused. Reifying an environment can entail the capture of unwanted bindings, leading to potentially severe violations of lexical abstraction and locality. Reeecting a data structure into an environment may cause useful program transformations which rely on static scoping (e.g.,-conversion) to be no longer applicable. Proposals that have heretofore been suggested for manipulating environments as data objects, however, provide no mechanism to constrain the eeect (or extent) of the reiication or reeection process. In this paper, we propose a treatment of environments and the mechanism by which they are reiied and manipulated that addresses these concerns. The language described below permits environments to be reiied into data objects, and objects to be reeected into environments, but gives users great exibility to constrain the extent and scope of these processes. We argue that the techniques and operators developed deene a cohesive basis for building large-scale modular systems using reeective programming techniques.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Implementing Parallel Language Constructs Using a Re ective Object - Oriented Language

To provide various parallel language constructs, extensible languages based on re ection are attractive for both implementors and users. This paper describes our proposed meta-level architecture of a concurrent object-oriented language ABCL/R3, which has the following characteristics: (1) language customization through meta-interpreters and meta-objects, (2) delegation and inheritance mechanism...

متن کامل

Using Partial Evaluation in Re ective Concurrent Object - Oriented Languages

Parallel and distributed programs often have hardware/problem speci c optimizations for improving quality of the program such as e ciency and robustness. Those optimizations, unfortunately, degrade portability and re-usability as they are intertwined with the original algorithm description. Re ective languages, which provide the application programmer extensible and abstract implementation of t...

متن کامل

Learning modular policies for robotics

A promising idea for scaling robot learning to more complex tasks is to use elemental behaviors as building blocks to compose more complex behavior. Ideally, such building blocks are used in combination with a learning algorithm that is able to learn to select, adapt, sequence and co-activate the building blocks. While there has been a lot of work on approaches that support one of these require...

متن کامل

Modular Artefacts

Inspired by adaptive possibilities of agents in multi-agents system, we have developed the new concept of modular artefacts using intelligent building blocks (I-BLOCKS) [1]. This paper describes early a scientific research related to technical design, inheritable development and evaluation of a concept of neighborhood information awareness among I-BLOCKS allowing users to develop modular system...

متن کامل

Connectors for Reusable Aspects

Aspect oriented programming AOP controls tangling of concerns by isolating aspects that cross cut each other into building blocks Component based programming CBP supports software development by isolating reusable building blocks that can be assembled and connected in many di erent ways We show how AOP and CBP can be integrated by introducing a new component construct for programming class coll...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007