Adore IDE: Emacs Mode

Emacs Logo

Adore is fully integrated in Emacs, as a major mode. It aims to provide a friendly way to interact with the Adore2Facts Compiler and the Adore Composition Engine.

  • Common Prerequisites:
    • Emacs, bash-like shell, Java, swi-prolog
  • Specific Prerequisites:
    • Graph visualization: Graphviz suite, dot command line.

Quick Overview

Emacs Major Mode

Adore IDE Set Up

  • We assume the compiler
  • In you .emacs personal file, you need to specify:
    • ADORE_HOME: the absolute path of the ADORE root directory
    • ADORE_VIEWER: a command line tool able to display an image passed as first parameter
    • SWIPL_HOME: the absolute path to the SWI-PL binaries
  • To do such a task, you just need to adapt the following code:
(setenv "ADORE_HOME" "/Users/mosser/repositories/adore")
(setenv "ADORE_VIEWER" "open")
(setenv "SWIPL_HOME" "/opt/local/bin/")
;; You're not suppose to edit this code after this line
(setenv "PATH" (concat (getenv "PATH") ":" (getenv "ADORE_HOME") "/bin"))
(load-file (concat (getenv "ADORE_HOME") "/adore.el"))
  • The Adore-mode will be activated in Emacs each time you load a *.adore file.
tools/emacs/start.txt · Last modified: 2010/03/05 19:13 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