caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alessandro Baretta <alex@baretta.com>
To: Stefano Zacchiroli <zack@bononia.it>, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Announce: Xcaml 0.0.1 released
Date: Tue, 11 Mar 2003 08:08:29 +0100	[thread overview]
Message-ID: <3E6D8B6D.8090104@baretta.com> (raw)
In-Reply-To: <20030306085823.GA9954@lordsoth.takhisis.org>



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 
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


  reply	other threads:[~2003-03-11  7:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 21:31 Alessandro Baretta
2003-03-05 22:55 ` Karl Zilles
2003-03-06  7:32   ` Alessandro Baretta
2003-03-06 19:38     ` Karl Zilles
2003-03-06  7:35 ` Michal Moskal
2003-03-06 14:01   ` Alessandro Baretta
2003-03-06  8:58 ` Stefano Zacchiroli
2003-03-11  7:08   ` Alessandro Baretta [this message]
2003-03-15  0:44 ` SooHyoung Oh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E6D8B6D.8090104@baretta.com \
    --to=alex@baretta.com \
    --cc=caml-list@inria.fr \
    --cc=zack@bononia.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).