کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
423942 685307 2006 26 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Towards Efficient, Typed LR Parsers
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Towards Efficient, Typed LR Parsers
چکیده انگلیسی

The LR parser generators that are bundled with many functional programming language implementations produce code that is untyped, needlessly inefficient, or both. We show that, using generalized algebraic data types, it is possible to produce parsers that are well-typed (so they cannot unexpectedly crash or fail) and nevertheless efficient. This is a pleasing result as well as an illustration of the new expressiveness offered by generalized algebraic data types.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 148, Issue 2, 24 March 2006, Pages 155-180