کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
10343166 696612 2013 14 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
An object-oriented approach to language compositions for software language engineering
ترجمه فارسی عنوان
یک رویکرد شی گرا به ترکیبات زبان برای مهندسی زبان نرم افزاری
کلمات کلیدی
مهندسی نرم افزار، ترکیب زبان، زبانهای خاص دامنه
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر شبکه های کامپیوتری و ارتباطات
چکیده انگلیسی
In this paper, it is shown that inheritance, a core concept from object-oriented programming, is a possible solution for realizing composition of computer languages. Language composability is a property of language descriptions, which can be further classified into informal (language syntax and semantics are hard-coded in compiler/interpreter) and formal language descriptions (syntax and semantics are formally specified with one of several formal methods for language definition). However, language composition is much easier to achieve with declarative formal language descriptions into which the notion of inheritance is introduced. Multiple attribute grammar inheritance, as implemented in the language implementation system LISA, can assist in realizing all of the different types of language compositions identified in Erdweg et al. (2012). Different examples are given throughout the paper using an easy to understand domain-specific language that describes simple robot movement.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Systems and Software - Volume 86, Issue 9, September 2013, Pages 2451-2464
نویسندگان
,