Results 1 to 10 of about 82,171 (148)
Jparsec - a parser combinator for Javascript [PDF]
Parser combinators have been a popular parsing approach in recent years. Compared with traditional parsers, a parser combinator has both readability and maintenance advantages.
Zhong, Sida
core +5 more sources
Parser Combinators: a Practical Application for Generating Parsers for NMR Data. [PDF]
Nuclear Magnetic Resonance (NMR) spectroscopy is a technique for acquiring protein data at atomic resolution and determining the three-dimensional structure of large protein molecules. A typical structure determination process results in the deposition of a large data sets to the BMRB (Bio-Magnetic Resonance Data Bank).
Fenwick M +3 more
europepmc +6 more sources
Ramble: Parser Combinator for R
Ramble is a parser combinator for the R (R Core Team 2016) language using the higher order functions. The combinatory parsing approached used in Ramble mirrors approaches used in functional languages such as Miranda (Hutton 1992), and is able to handle ...
Chapman Siu
semanticscholar +3 more sources
Design patterns for parser combinators (functional pearl) [PDF]
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
semanticscholar +4 more sources
Monadic parser combinators [PDF]
In functional programming, a popular approach to building recursive descent parsers is to model parsers as functions, and to define higher-order functions (or combinators) that implement grammar constructions such as sequencing, choice, and repetition ...
Hutton, Graham, Meijer, Erik
core +10 more sources
Lightweight multi-language syntax transformation with parser parser combinators [PDF]
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
semanticscholar +3 more sources
A new view on parser combinators [PDF]
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.
Pieter Koopman, Rinus Plasmeijer
semanticscholar +4 more sources
Mímico: a monadic combinator parser generator [PDF]
This article describes a compiler generator, called Mimico, that outputs code based on the use of monadic combinators. Mimico can parse infinite look-ahead and left-recursive context free grammars and defines a scheme for handling the precedence and associativity of binary infix operators, and monadic code in semantic rules. Mimico provides an easy way
Carlos Camarão +2 more
semanticscholar +6 more sources
Lazy functional parser combinators in Java [PDF]
A parser is a program that checks if a text is a sentence of the language as described by a grammar. Traditionally, the program text of a parser is generated from a grammar description, after which it is compiled and subsequently run.
Dijkstra, A., Swierstra, D.S.
core +6 more sources
Morpheus: Automated Safety Verification of Data-dependent Parser Combinator Programs [PDF]
Parser combinators are a well-known mechanism used for the compositional construction of parsers, and have shown to be particularly useful in writing parsers for rich grammars with data-dependencies and global state.
Ashish Mishra, Suresh Jagannathan
openalex +3 more sources

