Installation

Installation will be done as usual if the default scripting langauge is Scheme and if the backend interpreter is Gauche or Guile.


./configure
make
make install

I will describe the pecular settings for this tool. Consult the documents of Autotool to know other settings, for example, to change the target directory. I added three configure options.

--enable-polyglot

The default configuration file is converted to a C source file and embedded when you compile this tool. To specify a computer language with -l option and make it read its configuration file, add --enable-polyglot option. To change the default language and/or the backend interpreter, see below.

./configure --enable-polyglot

The language configuration files are to be installed to $(pkgdatadir)/lang, i.e. $(prefix)/share/aescm/lang.

--with-default, --with-backend

To specify the default language configuration file, use --with-default option, and to specify the default backend interpreter, use --with-backend option. Some interpreters need different configuration files form the default ones for their language. The configuration files are in src/lang/ The information on the interpreter is overridden by --with-backend option.

See below for more information on some implementations of Common Lisp and Scheme.

Common Lisp

The XML name space for Common Lisp is lisp.

CMUCL requires a different configuration file, for we have to send initialization code and specify complicated option arguments.

CLISP
./configure --with-default=lisp
CMUCL
./configure --with-default=lisp-cmucl

Scheme

Scheme is our default language. Its XML name space is scm. SCM requires a different configuration file, for we have to send initialization code.

Gauche
./configure
Guile

If Gauche is not installed, type:

./configure

If Gauche is installed, type:

./configure --with-backend=guile
SCM
./configure --with-default=scm-scm
Other Implementations

You have to specify the backend interpreter and its command line arguments. The command line arguments for some implementations are listed in doc/interpreter.html. If your favorite interpreter is not in the list, consult doc/gimmick.html to find out its argument.

This example is for Scsh:

./configure --with-backend="scsh -s /dev/stdin"