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 QAA30464; Fri, 4 Oct 2002 16:14:55 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA30540 for ; Fri, 4 Oct 2002 16:14:54 +0200 (MET DST) Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g94EErD28276 for ; Fri, 4 Oct 2002 16:14:54 +0200 (MET DST) Received: from dalamar.takhisis.org (62.98.144.44) by smtp2.libero.it (6.5.028) id 3D8B3DDE0063A425 for caml-list@inria.fr; Fri, 4 Oct 2002 16:14:50 +0200 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by dalamar.takhisis.org (8.12.6/8.12.6/Debian-5) with ESMTP id g94EEjMU006642 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Fri, 4 Oct 2002 16:14:45 +0200 Received: from lordsoth.takhisis.org (lordsoth.takhisis.org [192.168.1.119]) by lordsoth.takhisis.org (8.12.6/8.12.6/Debian-6) with ESMTP id g94EEhqm009220 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 4 Oct 2002 16:14:43 +0200 Received: (from zack@localhost) by lordsoth.takhisis.org (8.12.6/8.12.6/Debian-6) id g94EEhK4009218 for caml-list@inria.fr; Fri, 4 Oct 2002 16:14:43 +0200 Date: Fri, 4 Oct 2002 16:14:43 +0200 From: Stefano Zacchiroli To: caml-list@inria.fr Subject: Re: [Caml-list] HTMLC Message-ID: <20021004141443.GA9205@cs.unibo.it> Mail-Followup-To: caml-list@inria.fr References: <20021004090026.GA3384@cs.unibo.it> <200210040947.LAA18805@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200210040947.LAA18805@pauillac.inria.fr> User-Agent: Mutt/1.4i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Oct 04, 2002 at 11:47:33AM +0200, Pierre Weis wrote: > May be HTMLC announce was a bit modest too, I don't know. I really > would like to share ideas and code with other programmers on the > subject of HTML pages generation using Caml. It is a practical issue: > I had so many problems with SSI that I moved to the side of statically > checked source pages (and HTML compilers). Me too and moreover most of the time is enough to build pages one for all avoiding the use of CPU time each time a user need a page, anyway ... going back to the "share ideas" (leaving the "share code" for the future :-)), what about the interpretation of OCaml code? I use WML since an year and is architecture is built up from a lot of layers (8 or 9 I didn't remeber), the more useful are two of them: - inclusion of other files, as already implemented in htmlc (even if seems to me that WML does not differentiate verbatim inclusion from the 'normal' one, it scans sources looking for WML special tags anyway) - execution of embedded perl statement (obviously I'm talking about execution at compile time, WML philosophy is the same as HTMLC one) What about adding such a feature to HTMLC? I don't know how hard is to implement such a feature, I can wonder that it require the instantiation of an ocaml runtime while starting the compiler, and an 'eval' like statement execution each time some ocaml code is encountered. I know that Gerd Stoplmann is doing something like that in PXP (embedding ocaml code in XML document), but I haven't yet looked at it ... IMO this can make htmlc a really interesting tool for functional programmers. Obviously some easy html manipulator functions can be useful, but I suspect that many work on this subject have been already done by the ocamlweb guys and can be used here, am I wrong? Cheers. -- Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney ------------------- 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