From: David MentreTo: lwn@lwn.net Subject: Attn: Development editor: Latest Caml Weekly News Date: 23 Apr 2001 16:32:32 +0200 Hi all, Here is the latest news in the Caml world (from the 18th to the 24th of april): -Content- 1. DBForge 2. Foreign function interface generator -The News- 1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Maxence Guesdon has released DBForge: I'm pleased to announce the first release of DBForge, a tool to describe databases (by now : tables and columns) and which generates the OCaml code of functions accessing these tables and columns ; this tool can be used (for example with OCamlODBC) to create database accessing applications without typing a single SQL query (well, if you don't want to execute multi-table queries). It can also generate some doc in HTML. An interesting point in the generated code is that the parameters and return values of the select, insert, ..., functions have real types, even through an ODBC interface like OCamlODBC, which uses only strings. The type of a column is given by its definition (but the user can force his own type with his own functions for string <-> his_type conversions). A small example is provided. More information on http://maxence.guesdon.free.fr/tools_en.html ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ David Fox has released a Foreign Function Interface (FFI) generator: This is to announce a package for generating ocaml foreign function interfaces. It is designed to allow you to specify the interface to C types and data using ocaml code, which is then translated into a mix of C code and ocaml external declarations. http://www.fox-thompson.com/dsf/ffi/ http://ocamlffi.sourceforge.net/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- David.Mentre@inria.fr -- http://www.irisa.fr/prive/dmentre/ Opinions expressed here are only mine.