package parsexp
S-expression parsing library
Install
Authors
Maintainers
Sources
parsexp-v0.16.0.tar.gz
sha256=b6e2572c8e6191a85cb8f9c3276ed87fe00522c81ba7a268179fb08185e55e12
Description
This library provides generic parsers for parsing S-expressions from strings or other medium.
The library is focused on performances but still provide full generic parsers that can be used with strings, bigstrings, lexing buffers, character streams or any other sources effortlessly.
It provides three different class of parsers:
- the normal parsers, producing [Sexp.t] or [Sexp.t list] values
- the parsers with positions, building compact position sequences so that one can recover original positions in order to report properly located errors at little cost
- the Concrete Syntax Tree parsers, produce values of type [Parsexp.Cst.t] which record the concrete layout of the s-expression syntax, including comments
This library is portable and doesn't provide IO functions. To read s-expressions from files or other external sources, you should use parsexp_io.
Published: 02 Jun 2023
Dev Dependencies
Used by (9)
-
bap-primus
>= "2.2.0" & < "2.4.0"
- bap-recipe
- bap-recipe-command
-
bare
>= "2.2.0" & < "2.4.0"
- odep
-
parsexp_io
>= "v0.16.0"
-
sexp_string_quickcheck
>= "v0.16.0"
-
sexplib
>= "v0.16.0"
-
tezos-tooling
>= "13.0"
Conflicts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page