کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
10328906 685219 2005 18 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Inferring Context-Free Grammars for Domain-Specific Languages
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Inferring Context-Free Grammars for Domain-Specific Languages
چکیده انگلیسی
In the area of programming languages, context-free grammars (CFGs) are of special importance since almost all programming languages employ CFG's in their design. Recent approaches to CFG induction are not able to infer context-free grammars for general-purpose programming languages. In this paper it is shown that syntax of a small domain-specific language can be inferred from positive and negative programs provided by domain experts. In our work we are using the genetic programming approach in grammatical inference. Grammar-specific heuristic operators and nonrandom construction of the initial population are proposed to achieve this task. Suitability of the approach is shown by examples where underlying context-free grammars are successfully inferred.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 141, Issue 4, 12 December 2005, Pages 99-116
نویسندگان
, , , , ,