caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Scheme added to Felix compiler
@ 2004-11-06  0:54 skaller
  0 siblings, 0 replies; only message in thread
From: skaller @ 2004-11-06  0:54 UTC (permalink / raw)
  To: felix-language; +Cc: caml-list, will

I have just uploaded a revised tarball for  Felix 1.0.18.
Felix is open source with BSD style FFAU licence.
http://felix.sf.net/downlooad/flx_1.0.18_src.tgz

This version now incorporates the Scheme interpreter
ocs-1.0 in the compiler. Ocs was 
written by Ville-Pertti Keinonen <will@exomi.com>
and the original source can be obtained from
URL http://will.iki.fi/software/ocs/

A scheme reference can be found at 
http://www.schemers.org/Documents/Standards/R5RS/HTML/

The interpreter is available standalone tool
(called 'ocs_main' at the moment, but the name will 
probably change)

It can also be used with the Felix preprocessor. 

#scheme (display "//generated by scheme\n")
#scheme (load "somefile.sch")

The environment is currently shared across
directives and include files so variables set
in one place can be used in subsequent places.

The #scheme directive is replaced by whatever it
writes to standard output, and is then
tokenised as if it were Felix code.

In future releases I may add system variables
and utilities to the environment, and perhaps
extend the interpreter so it can access some of
the compiler state. I will be examining whether
it is feasible to invert the control relation
of the front end so it's a scheme program
embedding Ocaml (rather than the other way arond).
This may help to make user control and extensions
easier to script.

-- 
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] only message in thread

only message in thread, other threads:[~2004-11-06  0:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06  0:54 Scheme added to Felix compiler skaller

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