کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
4951899 1441617 2016 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Error reporting in Parsing Expression Grammars
ترجمه فارسی عنوان
خطای گزارش در گرامر اصطلاحات پارسیس
کلمات کلیدی
تجزیه، گزارش خطا، گرامرهای بیان تجزیه، تجزیه پکرات، ترکیب کننده های تجزیه کننده،
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
We also propose a complementary error reporting strategy that may lead to better error messages: labeled failures. This approach is inspired by exception handling of programming languages, and lets a PEG define different kinds of failure, with each ordered choice operator specifying which kinds it catches. Labeled failures give a way to annotate grammars for better error reporting, to express some of the error reporting strategies used by deterministic parser combinators, and to encode predictive top-down parsing in a PEG.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 132, Part 1, 15 December 2016, Pages 129-140
نویسندگان
, , , ,