caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* XQuery Implementation: Galax version 0.5.0 available
@ 2005-02-17  0:40 Mary Fernandez
  2005-02-17  1:19 ` [Caml-list] " skaller
  0 siblings, 1 reply; 3+ messages in thread
From: Mary Fernandez @ 2005-02-17  0:40 UTC (permalink / raw)
  To: caml-list


We are proud to announce version 0.5.0 of Galax, an open source
implementation of XQuery 1.0.

This version implements the October 2004 XQuery working drafts and
includes a completely redesigned compiler with an algebraic optimizer,
a more efficient XML parser, and numerous bug fixes.

Galax 0.5.0 can be downloaded from the Galax Web site at:

   http://www.galaxquery.org/

In addition to the Galax source, pre-compiled binaries are available
for Linux, MacOS, Solaris, and Windows with MinGW.

Galax provides APIs for O'Caml, C, and Java and is implemented in
O'Caml.
-- 
Mary Fernandez <mff@research.att.com>
AT&T Labs - Research


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] XQuery Implementation: Galax version 0.5.0 available
  2005-02-17  0:40 XQuery Implementation: Galax version 0.5.0 available Mary Fernandez
@ 2005-02-17  1:19 ` skaller
  2005-02-17 13:17   ` Mary Fernandez
  0 siblings, 1 reply; 3+ messages in thread
From: skaller @ 2005-02-17  1:19 UTC (permalink / raw)
  To: Mary Fernandez; +Cc: caml-list

On Thu, 2005-02-17 at 11:40, Mary Fernandez wrote:

> Galax provides APIs for O'Caml, C, and Java and is implemented in
> O'Caml.

I'm curious how you provide a CAPI for Ocaml code?

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] XQuery Implementation: Galax version 0.5.0 available
  2005-02-17  1:19 ` [Caml-list] " skaller
@ 2005-02-17 13:17   ` Mary Fernandez
  0 siblings, 0 replies; 3+ messages in thread
From: Mary Fernandez @ 2005-02-17 13:17 UTC (permalink / raw)
  To: skaller; +Cc: caml-list

It's not hard, really, just tedious. Unfortunately,
the Caml IDL tool only generates wrapper code for
calling C from O'Caml, not vice versa, so we
write that code by hand.   In short:

C_API_stub.c - contains our C API. This code handles 
  converting C values to O'Caml values, setting up
  actual arguments to O'Caml functions, then calling
  the O'Caml callback functions.  There's some messy
  memory/heap management code in here too

Caml_API_stub.ml - contains wrapper functions that
  are called from C API.  These functions are registered
  using the Callback module.  They call our real Caml API.
  
We create a shared library that contains our Caml library,
the C_API stub, and the O'Caml runtime system.  (IT's BIG!)
And that gets linked with the user's C program.

I hope that makes sense.
Mary
On Wed, 2005-02-16 at 20:19, skaller wrote:
> On Thu, 2005-02-17 at 11:40, Mary Fernandez wrote:
> 
> > Galax provides APIs for O'Caml, C, and Java and is implemented in
> > O'Caml.
> 
> I'm curious how you provide a CAPI for Ocaml code?
-- 
Mary Fernandez <mff@research.att.com>
AT&T Labs - Research


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-02-17 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-17  0:40 XQuery Implementation: Galax version 0.5.0 available Mary Fernandez
2005-02-17  1:19 ` [Caml-list] " skaller
2005-02-17 13:17   ` Mary Fernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).