کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
421077 684057 2006 14 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A minimalist approach to objects
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
A minimalist approach to objects
چکیده انگلیسی

Dynamically typed environment-passing interpreters (EPIs), such as Scheme, are known for their small footprint. In this era of ubiquitous computing, there is an advantage for providing in situ programming support for systems having limited resources. Thus, EPIs may play an important role in programming embedded systems, especially with system-on-a-chip approaches. It is desirable that embedded interpreters be full featured, such as including an object system. By taking a view that equates function definitions with classes and environments with objects, it is shown how any EPI having functions and environments as first-class objects can be made object-oriented with a strong inheritance model through the addition of proxies and judicious use of dynamic scope and/or assignment. Moreover, the sum total of the necessary changes is surprisingly small. The result is an object-oriented interpreter with little additional cost in terms of interpreter size or specialized syntax.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computer Languages, Systems & Structures - Volume 32, Issue 1, April 2006, Pages 42–55
نویسندگان
, ,