From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA24410; Fri, 10 Oct 2003 12:38:44 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA00211 for ; Fri, 10 Oct 2003 12:38:42 +0200 (MET DST) Received: from mail1.tpgi.com.au (mail.tpgi.com.au [203.12.160.57]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h9AAce106690 for ; Fri, 10 Oct 2003 12:38:41 +0200 (MET DST) Received: from 203-213-83-217-syd-ts15-2600.tpgi.com.au (203-213-83-217-syd-ts15-2600.tpgi.com.au [203.213.83.217]) by mail1.tpgi.com.au (8.11.6/8.11.6) with ESMTP id h9AAcPr32258; Fri, 10 Oct 2003 20:38:26 +1000 Subject: Re: [Caml-list] extending a type with Marshal From: skaller Reply-To: skaller@ozemail.com.au To: Christian Rinderknecht Cc: Ker Lutyn , caml-list@inria.fr In-Reply-To: <1065777556.21150.15.camel@lulu.devinci.fr> References: <20031008212257.19628.qmail@web40606.mail.yahoo.com> <1065777556.21150.15.camel@lulu.devinci.fr> Content-Type: text/plain Message-Id: <1065782294.12729.87.camel@pelican> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 10 Oct 2003 20:38:15 +1000 Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ozemail:01 rinderknecht:01 subtyping:01 versioning:01 relaying:99 ber:99 ffau:99 supported:01 marshal:01 syntax:02 asn:02 asn:02 wrote:03 compiling:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, 2003-10-10 at 19:19, Christian Rinderknecht wrote: > Hello Ker, > > This kind of concept is already present (subtyping, versioning, > relaying) in a specification language called Abstract Syntax Notation > One (ASN.1), and, at least, easily supported by one of its encoding rule > called Basic Encoding Rule (BER). There is also a FFAU (free for any use) open source ASN 1.1 library around somewhere for C++, and tools for compiling ASN specifications (into C++ sources). I can't give a reference, sorry, I ran into these beasts while working at a (now defunct) telco. I imagine google can find it though :-) ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners