English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 <bluestorm.dylc@gmail.com> 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.