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 RAA17229; Wed, 1 Oct 2003 17:52:09 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA24957 for ; Wed, 1 Oct 2003 17:52:08 +0200 (MET DST) Received: from abel.swapping.umh.ac.be (nat.umh.ac.be [193.190.193.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h91Fq7H10556 for ; Wed, 1 Oct 2003 17:52:07 +0200 (MET DST) Received: from abel.swapping.umh.ac.be ([127.0.0.1] helo=localhost ident=trch) by abel.swapping.umh.ac.be with esmtp (Exim 3.36 #1 (Debian)) id 1A4jHE-0000UG-00; Wed, 01 Oct 2003 17:52:32 +0200 Date: Wed, 01 Oct 2003 17:52:32 +0200 (CEST) Message-Id: <20031001.175232.130390861.debian00@tiscali.be> To: rich@annexia.org Cc: caml-list@inria.fr Subject: [Caml-list] DBI (was: Printf question) From: Christophe TROESTLER In-Reply-To: <20031001145752.GA1897@redhat.com> References: <200309302052.WAA26950@pauillac.inria.fr> <20031001.163955.29676500.debian00@tiscali.be> <20031001145752.GA1897@redhat.com> Organization: None X-Spook: CID sweep Commecen kilo class terrorism global Perl-RSA ANZUS Nazi Legion of Doom X-Mailer-URL: http://www.mew.org/ X-Operating-System: GNU/Linux (http://www.linux.org/) X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Mailer: Mew version 3.3rc1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; dbi:99 printf:01 troestler:01 tiscali:99 troestler:01 dbi:99 chris:01 christophe:01 christophe:01 caml:01 0200,:01 ast:02 ast:02 precisely:02 interpreter:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 1 Oct 2003, Richard Jones wrote: > > On Wed, Oct 01, 2003 at 04:39:55PM +0200, Christophe TROESTLER wrote: > > 1) Develop AST for SQL requests [...] > > [...] you have to redo it for each DB engine. Why? Can you elaborate? The point of developing AST (and a embedded-SQL-like language) is precisely to do it once for all. What is needed is an "interpreter" of AST for each DB engine (this should be the easy part). > If you're interested in my take on "DBI" have a look at the mod_caml Will have a look (I am interested and will do my best to contribute but my spare time is unfortunately little). Cheers, ChriS ------------------- 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