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 IAA04138; Tue, 11 Mar 2003 08:03:42 +0100 (MET) 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 IAA04017 for ; Tue, 11 Mar 2003 08:03:40 +0100 (MET) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from athlon.baretta.com (host60-4.pool62211.interbusiness.it [62.211.4.60] (may be forged)) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h2B73df04159 for ; Tue, 11 Mar 2003 08:03:40 +0100 (MET) Received: from baretta.com (localhost.localdomain [127.0.0.1]) by athlon.baretta.com (Postfix) with ESMTP id 9FA9727252; Tue, 11 Mar 2003 08:08:29 +0100 (CET) Message-ID: <3E6D8B6D.8090104@baretta.com> Date: Tue, 11 Mar 2003 08:08:29 +0100 From: Alessandro Baretta Organization: Baretta srl -- www.baretta.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: it, en MIME-Version: 1.0 To: Stefano Zacchiroli , Ocaml Subject: Re: [Caml-list] Announce: Xcaml 0.0.1 released References: <3E666CAA.7020306@baretta.com> <20030306085823.GA9954@lordsoth.takhisis.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; alessandro:01 baretta:01 caml-list:01 0.0.1:01 whereby:01 hashtable:01 hashtables:01 flushes:01 sono:99 compiler:01 ocaml:01 05,:01 alex:01 bytecode:01 handles:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 block but can be accessed directly from HTML/XML/whatever with a $#varname directive. >>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. Alex ------------------- 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