caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin Jambon <martinj@mylife.com>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: [Caml-list] [ANN] Atdgen 1.2.0 + tutorial, OMake/Make support
Date: Wed, 06 Jul 2011 03:26:24 -0700	[thread overview]
Message-ID: <4E143850.2080706@mylife.com> (raw)

Hello list,


I have the pleasure to officially announce this new release of Atdgen.
Atdgen is a tool that generates optimized OCaml code from type
definitions, primarily for data serialization:

  http://oss.wink.com/atdgen/

Atdgen supports one text format, JSON, and one binary format, Biniou,
which retains most properties of JSON.

  JSON specification: http://json.org
  Biniou specification: http://martin.jambon.free.fr/biniou-format.txt


What's new
----------

* a tutorial: http://mylifelabs.github.com/atdgen-tutorial.html

* new command-line modes (-t, -b, -j, -v) and new conventions that make
it easier to split groups of type definitions into multiple files and
OCaml modules. Existing users of Atdgen are encouraged to switch to this
new model, described in the tutorial.

* a validator mode (-v) which produces code that calls user-specified
validators on the nodes of data structures to validate.

* OMake support: https://github.com/MyLifeLabs/atdgen-omake

* GNU Make support: https://github.com/MyLifeLabs/atdgen-make


Development status
------------------

Atdgen is being developed at MyLife (http://www.mylife.com) where we use
it routinely to process and serve terabytes of rich data.

The source repository is publicly hosted on GitHub:

  https://github.com/MyLifeLabs/atdgen


Technology used
---------------

* type definition parsing (atd package): ocamllex + menhir
* JSON parsing (yojson package): ocamllex, some Obj
* Biniou parsing (biniou package): handwritten OCaml, some Obj
* pretty-printing (atd, yojson, biniou): easy-format, relying on Format
* not-too-ugly-printing OCaml code (atdgen) uses simple technique
implemented here:
    https://github.com/MyLifeLabs/atd/blob/master/atd_indent.mli
    https://github.com/MyLifeLabs/atd/blob/master/atd_indent.ml

(Atdgen does not use Camlp4)



Enjoy!


Martin


             reply	other threads:[~2011-07-06 10:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 10:26 Martin Jambon [this message]
2011-07-06 10:33 ` Микола Стрєбков

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E143850.2080706@mylife.com \
    --to=martinj@mylife.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).