Adore Composition Engine

Shell Interface

mosser@asmodeus:~$ adore-wrapper.sh -h
####
# ADORE Shell Wrapper: adore-wrapper.sh
#   Usage: adore-wrapper.sh -f $F -r $R -v true|false
#  -h: display this help
#  -f $F: $F is the ADORE file you wanna work on.
#     -> by default, you'll work on a desperatly empty universe
#  -g $G: $R is the ADORE (ie Prolog) goal you wanna run over $F
#     -> by default, do not run anything.
#  -v true|false: if true, Adore print out what's happening
#     -> the default value is 'true'
####

Set Up

  • Edit you .bash_profile personal file to declare:
    • ADORE_HOME: the absolute path of the ADORE installation
    • SWIPL_HOME: the absolute path of your SWI-PL binary installation
    • Enhance your path to add the ADORE binaries
    • The following code should be adapted to fit your running system:
## Adore
ADORE_HOME='/Users/mosser/repositories/adore'
SWIPL_HOME='/opt/local/bin/'
PATH=$PATH:$ADORE_HOME/bin
export ADORE_HOME PATH SWIPL_HOME
  • Edit the $ADORE_HOME/prolog/config.pl configuration file
    • (Un)comment the debug channel you wan to listen to (by default, all activated)
    • Specify the exec parameter of the adore2png transformation.
      • Almost all system should only use the path to their dot command line tool
        adore2png_param(exec,'/usr/local/bin/dot').
      • But on Mac OS X operated computer, you should also specify default font and fontpath
        adore2png_param(exec,'/sw/bin/dot -Nfontname=Courier -Gfontpath=/System/Library/Fonts').
tools/engine/start.txt · Last modified: 2010/01/14 11:15 by mosser
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0