Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Generation of Java code from OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-09-26 (07:37)
From: ygrek <ygrekheretix@g...>
Subject: Re: [Caml-list] Generation of Java code from OCaml
On Thu, 24 Sep 2009 14:02:14 +0200
blue storm <> wrote:

> What about factorising json-static to allow adding arbitrary code
> generators (represented as functions from (string * type_def) list to
> a camlp4 Ast) at camlp4-time ? You would have a design similar to
> type-conv, wich allows adding new generators without modifying
> type-conv itself.

That would be really useful for other kinds of serialization. I would be glad to 
add json-static-like interface for bencode and php_serialize.