کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
423556 685256 2016 16 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Incremental Rebinding with Name Polymorphism
ترجمه فارسی عنوان
صحافی دوباره افزایشی با پلی مورفیسم اسم
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی

We propose an extension with name variables of a calculus for incremental rebinding of code introduced in previous work. Names, which can be either constants or variables, are used as interface of fragments of code with free variables. Open code can be dynamically rebound by applying a rebinding, which is an association from names to terms. Rebinding is incremental, since rebindings can contain free variables as well, and can be manipulated by operators such as overriding and renaming. By using name variables, it is possible to write terms which are parametric in their nominal interface and/or in the way it is adapted, greatly enhancing expressivity. The type system is correspondingly extended by constrained name-polymorphic types, where simple inequality constraints prevent conflicts among parametric name interfaces.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 322, 18 April 2016, Pages 19-34