parsexpversion
S-expression parsing library
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.
Author | Jane Street Group, LLC |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/janestreet/parsexp |
Issue Tracker | https://github.com/janestreet/parsexp/issues |
Maintainer | Jane Street developers |
Available | arch != "arm32" & arch != "x86_32" |
Dependencies | |
Source [http] | https://github.com/janestreet/parsexp/archive/refs/tags/v0.17.0.tar.gz sha256=a3d10edbc4f98d16357b644d550fd1c06f4d9aa4990ab8ee6da01276c24d55b5 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/parsexp/parsexp.v0.17.0/opam |
Required by
- bap-primus>=2.2.0 & <2.4.0
- bap-recipe
- bap-recipe-command
- bare>=2.2.0 & <2.4.0
- odep
- parsexp_io>=v0.17.0
- sexp_string_quickcheck>=v0.17.0
- sexplib>=v0.17.0
- sexps-rewriter
- tezos-toolingwith-test & >=13.0