./devel/ocaml-sexplib, S-Expressions with Type Converters for OCaml

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.10.0, Package name: ocaml-sexplib-0.10.0, Maintainer: jaapb

This OCaml library contains functionality for parsing and
pretty-printing S-expressions. In addition to that it contains a
preprocessing module for Camlp4 which can be used to automatically
generate code from type definitions for efficiently converting
OCaml-values to S-expressions and vice versa.


Required to run:
[lang/ocaml] [devel/ocaml-findlib] [misc/ocaml-opam] [devel/ocaml-jbuilder]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 43ca22b815efc69fb19e4b84b499db23751df991
RMD160: 6fc692288e6a6e7c96788388759bef4f98ee8331
Filesize: 73.444 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-10 17:09:33 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated package devel/ocaml-sexplib to version 0.10.0.

A changelog is not available.
   2017-09-08 11:51:27 by Jaap Boender | Files touched by this commit (113) | Package updated
Log message:
Recursive revbump associated with update of ocaml to 4.05
   2017-09-03 14:56:01 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated package to latest version, 0.9.2. I cannot find a changelog (or
at least not one that is up to date).
   2017-07-11 14:14:13 by Jaap Boender | Files touched by this commit (6) | Package updated
Log message:
Updated package to latest version, 0.9.1. Attention: this is a new
versioning scheme - earlier version was 113.33.03. As per the thread on
https://mail-index.netbsd.org/tech-pkg/ … 17548.html
and the example given by archivers/lz4, I've just changed the version
number without further ado.

Changes up until 113.43.00 (there seems to be no later changelog) include:

    Sexps and EOF are a mess. Try to improve the situation somewhat!

		    In particular, this feature makes improvements to when
				Parsing_whitespace sexp parser state is reported: it now
				distinguishes the case Parsing_toplevel_whitespace from
				Parsing_nested_whitespace and it's only a valid empty parse if eof
				happens in Parsing_toplevel_whitespace. See test diffs for examples
				of strings that were previously valid empty parses, but are now
				incomplete. One of the craziest is probably "(foo #| bar".
   2016-12-30 12:17:03 by Jaap Boender | Files touched by this commit (89) | Package updated
Log message:
Recursive revbump associated with ocaml update to 4.04.
   2016-06-25 16:29:32 by Jaap Boender | Files touched by this commit (1)
Log message:
Pakcage uses ocamlbuild.
   2016-06-20 17:10:30 by Jaap Boender | Files touched by this commit (2) | Package updated
Log message:
Updated package to latest version, 113.33.00. Changes include:

- Changes `Sexp.to_string` to escape all non-ASCII characters.

  Previously chars >= 127 are escaped or not depending on:
  1. other character in the string
  2. the system
  3. environment variable settings

  (2) and (3) are because `String.escaped` from the stdlib uses the C
  function `isprint` which is locale and OS dependent.

  This can cause invalid UTF-8 sequence to be printed by sexplib, which
  is annoying:

    https://github.com/janestreet/sexplib/issues/18

  Starting with this release, sexplib:
  1. copies the `String.escaped` function of OCaml 4.03 which escapes
     all non-ascii characters
  2. make sure we escape the string when it contains characters >= 127

- Clean up the documentation for sexplib, modernizing it to include
  `ppx_sexp_conv`, and breaking up the documentation between sexplib and
  `ppx_sexp_conv`.  Also changed the formatting to use org-mode, so it
  will render properly on github.  Markdown doesn't render well by
  default, unless you use quite different conventions about linebeaks.

- In sexp macro library, avoid returning success when there is any error
  reading a sexp. In particular, this prevents

    sexp resolve <(echo '(:use x)')

  from silently succeeding.

  Also, now we no longer read an included file multiple times.
  This lets even crazy stuff like this to work:

    $ echo 'hi ' | sexp resolve <(echo '((:include /dev/stdin) (:include \ 
/dev/stdin))')
   2016-05-05 13:45:43 by Jaap Boender | Files touched by this commit (91) | Package updated
Log message:
Recursive revbump associated with ocaml update.