package mparser
A simple monadic parser combinator library
Install
Dune Dependency
Authors
Maintainers
Sources
mparser-1.2.tar.gz
sha256=def84ed84fcea32fa39883e5c72f289b729a36e92d58adfc63a4c11e7e48f3be
md5=69c26815b327c02e87d78f39237bfc60
doc/index.html
mparser
API
Library mparser
MParser
TheMParser
module is a monadic parser combinator library. The parser combinators provided by this module can be used to build parsers for context-sensitive, infinite look-ahead grammars that are reasonably efficient and produce good error messages due to a controlled use of backtracking. The performance of the resulting parsers should be sufficient for most applications. The parsers get their input from character streams provided by theMParser_Char_Stream
module, which means that it is possible to parse files up to a size of at least 1GB.MParser_Char_Stream
TheMParser_Char_Stream
module provides a position-based interface to character streams. The streams are optimized for applications that mostly read a stream sequentially and occasionally backtrack over a bounded distance, which is a common usage pattern of backtracking parsers.MParser_Sig
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page