libparsexp-ocaml

S-expression parsing library (runtime)

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.

This package contains runtime files.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/janestreet/ocaml-parsexp


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libparsexp-ocaml