Results 1 to 10 of about 13,549 (110)

Efficient parsing with parser combinators [PDF]

open access: yesScience of Computer Programming, 2018
Parser combinators offer a universal and flexible approach to parsing. They follow the structure of an underlying grammar, are modular, well-structured, easy to maintain, and can recognize a large variety of languages including context-sensitive ones. However, these advantages introduce a noticeable performance overhead mainly because the same powerful
Jan Kurs   +4 more
openaire   +9 more sources

Practical, general parser combinators [PDF]

open access: yesProceedings of the 2016 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, 2016
Parser combinators are a popular approach to parsing where context-free grammars are represented as executable code. However, conventional parser combinators do not support left recursion, and can have worst-case exponential runtime. These limitations hinder the expressivity and performance predictability of parser combinators when constructing parsers
A. Izmaylova (Anastasia)   +2 more
openaire   +2 more sources

Accelerating parser combinators with macros [PDF]

open access: yesProceedings of the Fifth Annual Scala Workshop, 2014
Parser combinators provide an elegant way of writing parsers: parser implementations closely follow the structure of the underlying grammar, while accommodating interleaved host language code for data processing. However, the host language features used for composition introduce substantial overhead, which leads to poor performance.In this paper, we ...
Béguet, Eric, Jonnalagedda, Manohar
openaire   +2 more sources

Design patterns for parser combinators (functional pearl) [PDF]

open access: yesProceedings of the 14th ACM SIGPLAN International Symposium on Haskell, 2021
Parser combinators are a popular and elegant approach for parsing in functional languages. The design and implementation of such libraries are well discussed, but having a well-designed library is only one-half of the story. In this paper we explore several reusable approaches to writing parsers in combinator style, focusing on easy to apply patterns ...
Jamie Willis, Nicolas Wu
openaire   +1 more source

Combining Czech Dependency Parsers [PDF]

open access: yes, 2006
In this paper we describe in detail two dependency parsing techniques developed and evaluated using the Prague Dependency Treebank 2.0 Then we propose two approaches for combining various existing parsers in order to obtain better accuracy The highest parsing accuracy reported in this paper is 85.84 %, which represents 1.86 % improvement compared to ...
Tomás Holan, Zdenek Zabokrtský
openaire   +2 more sources

Lightweight multi-language syntax transformation with parser parser combinators [PDF]

open access: yesProceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation, 2019
Automatically transforming programs is hard, yet critical for automated program refactoring, rewriting, and repair. Multi-language syntax transformation is especially hard due to heterogeneous representations in syntax, parse trees, and abstract syntax trees (ASTs).
Rijnard van Tonder, Claire Le Goues
openaire   +1 more source

A new view on parser combinators

open access: yesProceedings of the 31st Symposium on Implementation and Application of Functional Languages, 2019
Parser combinators offer a concise and fast way to produce reasonably efficient parsers. The combinator libraries themselves can be small and provide an elegant application of functional programming techniques. They are one of the success stories in functional programming that are also ported to many other languages.
Koopman, P.W.M., Plasmeijer, M.J.
openaire   +3 more sources

K-best combination of syntactic parsers [PDF]

open access: yesProceedings of the 2009 Conference on Empirical Methods in Natural Language Processing Volume 3 - EMNLP '09, 2009
In this paper, we propose a linear model-based general framework to combine k-best parse outputs from multiple parsers. The proposed framework leverages on the strengths of previous system combination and re-ranking techniques in parsing by integrating them into a linear model.
Hui Zhang 0066   +3 more
openaire   +2 more sources

On the Usability of Reactive Programming APIs: A Mixed Evaluation

open access: yesSoftware: Practice and Experience, Volume 55, Issue 9, Page 1506-1538, September 2025.
ABSTRACT Context Reactive Programming (RP) provides powerful abstractions for managing asynchronous and event‐driven behaviors, but its APIs are often perceived as complex and difficult to use, particularly due to their reliance on functional programming concepts. Objective This study investigates the usability of two prominent JavaScript RP libraries,
Carlos Zimmerle, Kiev Gama
wiley   +1 more source

Staged parser combinators for efficient data processing [PDF]

open access: yesACM SIGPLAN Notices, 2014
Parsers are ubiquitous in computing, and many applications depend on their performance for decoding data efficiently. Parser combinators are an intuitive tool for writing parsers: tight integration with the host language enables grammar specifications to be interleaved with processing of parse results.
Jonnalagedda, Manohar   +4 more
openaire   +3 more sources

Home - About - Disclaimer - Privacy