کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
424043 685327 2007 20 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Functional Programming With Higher-order Abstract Syntax and Explicit Substitutions
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Functional Programming With Higher-order Abstract Syntax and Explicit Substitutions
چکیده انگلیسی

This paper sketches a foundation for programming with higher-order abstract syntax and explicit substitutions based on contextual modal type theory [Aleksandar Nanevski, Frank Pfenning, and Brigitte Pientka. Contextual modal type theory. submitted, 2005]. Contextual modal types not only allows us to cleanly separate the representation of data objects from computation, but allow us to recurse over data objects with free variables. In this paper, we extend these ideas even further by adding first-class contexts and substitutions so that a program can pass and access code with free variables and an explicit environment, and link them in a type-safe manner. We sketch the static and operational semantics of this language, and give several examples which illustrate these features.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 174, Issue 7, 4 June 2007, Pages 41-60