aescm -- preprocess embedded code in documents
aescm [OPTION] ... FILE ...
Aescm is
a multilingual filter program
to preprocess code chunks in documents.
Here multilingual does not mean
"many natural languages"
but "many computer languages".
Chunks between <?TAG
and ?>
are evaluated
and expressions between <?TAG:d
and ?>
are replaced with their evaluated value,
where TAG is a namespace
defined in a configuration file.
Its default language is Scheme
and the namespace is scm.
Aescm in fact converts a document to a program and makes it executed by a backend interpreter. This mechanism allows us to use aescm with most script languages.
.
.
Language configuration files are in
/home/tagga/share/aescm/lang
directory.
The format of configuration files is described
in /home/tagga/share/doc/aescm/gimmick.html
.
The experimental version has adopted the XML syntax for a preprocessor
as eguile did
and eliminated the archaic one
with <?
, <?=
and !>
.
As many files as you specified are to be processed. The stable version processes only the first one.
CGI features have been removed since aescm version 0.30. Instead, you can use aescm.cgi in the sharp-bang line of CGI scripts or as a handler CGI program.
Shiro Kawai -- the original and stable escm TAGA Yoshitaka, tagga@tsuda.ac.jp
escm 1.1 (http://www.shiro.dreamhost.com/scheme/vault/escm.html), eguile (http://woozle.org/~neale/src/eguile/), brl (http://brl.sourceforge.net/), scsh (http://scsh.sourceforge.net/), guile, gosh,