From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p66AMmB2029803 for ; Wed, 6 Jul 2011 12:22:48 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AscBAOU2FE5CbwQdkWdsb2JhbAA9FqgDFAEBAQEJCwsHFAQhzHMFhjaHSop7hHqLYg X-IronPort-AV: E=Sophos;i="4.65,485,1304287200"; d="scan'208";a="102615027" Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 06 Jul 2011 12:22:42 +0200 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.messagingengine.com (Postfix) with ESMTP id 585F02058B for ; Wed, 6 Jul 2011 06:22:41 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 06 Jul 2011 06:22:41 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:content-type:content-transfer-encoding; s=smtpout; bh=OuV2guqdHQbr8BpD2jF30hdKO/0=; b=u6J+5C1CS/8tu6M4Imh7HrAz9TS+a1H9vA2DZiS000TTI6lq4NwfznTCvfWemyOsi1NukOQAx4XeazKUXZb2jRnDSb3Rx3onqpWaIyb8GNXmzieRQY+kXUlTDHtq+9/sbAvz9nkN7OQ0kPl1dCVCaT10Fs84ulX9N8Cj0pBFLZU= X-Sasl-enc: 3xbuX3Q3Ibp5hLRoOAQMyCObxHT8Mms3lExivbxmKjfr 1309947761 Received: from [192.168.2.3] (c-98-248-39-171.hsd1.ca.comcast.net [98.248.39.171]) by mail.messagingengine.com (Postfix) with ESMTPSA id 07BDB402146 for ; Wed, 6 Jul 2011 06:22:40 -0400 (EDT) Message-ID: <4E143850.2080706@mylife.com> Date: Wed, 06 Jul 2011 03:26:24 -0700 From: Martin Jambon User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20101023 Lightning/1.0b3pre Thunderbird/3.1.3 MIME-Version: 1.0 To: OCaml Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Caml-list] [ANN] Atdgen 1.2.0 + tutorial, OMake/Make support 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