کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
418799 681719 2015 27 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Bounded seas
ترجمه فارسی عنوان
دریاها محدود است
کلمات کلیدی
نیمه تجزیه، تجزیه جزیره، پارامترهای گرامرهای بیان
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی


• Traditional island grammars are difficult to define and are not flexible enough.
• Bounded seas — a new technique of island parsing — are composable, robust, reusable and easy to define.
• Bounded seas are specified using our extension of parsing expression grammars.
• Parsers utilizing bounded seas require less effort to define and provide both good precision and performance in the two performed case studies.

Imprecise manipulation of source code (semi-parsing) is useful for tasks such as robust parsing, error recovery, lexical analysis, and rapid development of parsers for data extraction. An island grammar precisely defines only a subset of a language syntax (islands), while the rest of the syntax (water) is defined imprecisely.Usually water is defined as the negation of islands. Albeit simple, such a definition of water is naïve and impedes composition of islands. When developing an island grammar, sooner or later a language engineer has to create water tailored to each individual island. Such an approach is fragile, because water can change with any change of a grammar. It is time-consuming, because water is defined manually by an engineer and not automatically. Finally, an island surrounded by water cannot be reused because water has to be defined for every grammar individually.In this paper we propose a new technique of island parsing — bounded seas. Bounded seas are composable, robust, reusable and easy to use because island-specific water is created automatically. Our work focuses on applications of island parsing to data extraction from source code. We have integrated bounded seas into a parser combinator framework as a demonstration of their composability and reusability.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computer Languages, Systems & Structures - Volume 44, Part A, December 2015, Pages 114–140
نویسندگان
, , , ,