Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Announce: Xcaml 0.0.1 released
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Announce: Xcaml 0.0.1 released

Stefano Zacchiroli wrote:
> On Wed, Mar 05, 2003 at 10:31:22PM +0100, Alessandro Baretta wrote:
>>ocaml-expr; $#-variables, whereby "$#varname" is substituted 
>>with the contents of the varname session-environment 
>>variable saved within the xcaml application server.
> Could you briefly explain how sessione variables are handled in Xcaml?

Very briefly, we have a "big" hashtable, where the keys are 
the session handles and the values are the session 
environments. Session environments are hashtables from 
strings to strings. Environment variables must be stored by 
a function call within and <?xcaml ... ?> block but can be 
accessed directly from HTML/XML/whatever with a $#varname 

>>2) An Xcaml -> Ocaml -> Bytecode compiler
> Is the compilation a required step or it's an optional one?

It's done automatically for you when you load the page. A 
cache file keeps track of what xcaml pages have already been 
compiled, so that files are not needlessly recompiled on and 
on again. Of course, if you make a change to a page 
on-the-fly, Xcaml notices and flushes it from the cache, 
forcing a recompilation.

>>I plan on working on the documentation, but I would first 
>>like to estimate how much interest there is in the ocaml 
>>community for this project.
> Sounds interesting to me ... let's chat a bit about it! :)
> Cheers.

Sono qui, Zack! Fammi sapere.

A new release is coming up this week.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: