| Documentation Alma (english) | Index | Home |
|---|---|
|
Version: 0.29 Date: 2001-03-05 Author: Guillaume Desnoix |
The documentation of the software named Alma is protected by copyright according to the laws of the french state. Any reproduction (copy, mirror, printing, ...) is forbidden without a written autorisation from the author. Every one can read it freely (and only) on this web site www.memoire.com. |
A script is a small program which doen't need to be compiled and can be executed by direct interpretation. An interpreter analyses its instructions and execute them one by one, procuring a high interactivity.
Alma has an interface to some script interpreters. It means you can write scripts and execute them in Alma. It gives to Alma an important extensibility because it is possible to add:
Half a dozen of interpreters are already available. But some of them are not perfectly integrated (mainly because of threads and streams problems). For this reason, they are not available in the menu. The two recommanded interpreters are Acto et Python.
Its princip is to send directly some commands to Alma. ActionEvents are generated and sent to the main ActionListener.
| File | Edition | Scripts | Windows |
|---|---|---|---|
| CREER OUVRIR(?) REOUVRIR(?) ENREGISTRER ENREGISTRERSOUS FERMER IMPRIMER QUITTER DEBUTER | DEFAIRE REFAIRE COUPER COPIER COLLER DUPLIQUER TOUTSELECTIONNER RECHERCHER REMPLACER PREFERENCES | SCRIPT(?) | PLEINECRAN CASCADE MOSAIQUE RANGER_ICONES RANGER_PALETTES ECHANGER_COLONNES VISIBLE_SPECIFICBAR VISIBLE_LEFTCOLUMN VISIBLE_RIGHTCOLUMN VISIBLE_STATUSBAR |
| Help | Project | Model | . |
| AIDE AIDE_INDEX INDEX_ALPHA INDEX_THEMA TEXTE_LICENCE WWW_ACCUEIL AIDE_CONTEXTUELLE APROPOSDE | OUVRIRPROJET ENREGISTRERPROJET EXECUTERPROJET REINITIALISERPROJET ANALYSER GENERER CONFIGURER MESSAGE ARBRE_MODELE PROJET_TABLE | PATRON_CREER RELATION_CREER CONDITION_CREER PATRON_CONSTRUIRE RELATION_CONSTRUIRE CONDITION_CONSTRUIRE GRAPHE_CREER | . |
For those who appreciate Forth, Fiji is a good choice...
Some people like it.
Surely on of the best scripting language, well integrated in Alma. If you hesitate which interpreter to use, try this one !
Rhino is a good Javascript interpreter but I have some problems with th thread management. To use only on the command line.
Difficult access to Alma.
Choose in the menu an interpreter. A terminal should appear in which you can enter your commands. Click on the Execute button to launch some saved script.
Two options are available on the command line:
to select an interpreter
to execute a script save in a file
java com.memoire.alma.AglMain --script Python --exec agl-simple-script.py