Commit graph

10 commits

Author SHA1 Message Date
jaapb
11a6e0d383 Recursive revbump associated with ocaml update to 4.04. 2016-12-30 11:16:56 +00:00
jaapb
4c8ae45bd1 Pakcage uses ocamlbuild. 2016-06-25 14:29:32 +00:00
jaapb
82eef63e99 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-06-20 15:10:30 +00:00
jaapb
9718550454 Recursive revbump associated with ocaml update. 2016-05-05 11:45:36 +00:00
jaapb
231809bbdc Updated package to latest version, 113.24.00. Changes include:
Switch code in lib subdir to ppx-style.
	Inline some calls that js_of_ocaml was unable to recognise as tail-recursive
	(cf. issue 14)
	Minor update: documentation.
	Added sexp_of_ support for GADTs, and remove the not-quite-working support
	for of_sexp.
	Improved the implementation of Exn.sexp_of_t, using the unique id in
	exceptions in OCaml 4.02.
	We use the identifier to map exception constructors to converters.
2016-03-04 16:06:19 +00:00
jaapb
339d229d93 Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
2016-02-06 12:06:07 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
jaapb
7ea12ebae7 Recursive revbump associated with lang/ocaml update. 2015-08-07 11:20:32 +00:00
jaapb
487d6ab2d3 Recursive revbump associated with update of lang/ocaml to 4.02.2. 2015-06-30 11:52:55 +00:00
jaapb
41a390c00c Added package devel/ocaml-sexplib, a library for S-Expressions in OCaml. 2015-01-20 16:27:02 +00:00