Skip to content
Support for ABS in the Emacs editor.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.emacs
.dir-locals.el
.gitignore
Cask
LICENSE
Makefile
README.md
abs-mode.el
ob-abs.el
sample.org

README.md

MELPA MELPA Stable CircleCI

An Emacs major mode for the Abs language

Add support for Abs (http://docs.abs-models.org) in Emacs, including running models within the editor. Press C-c C-c to compile an Abs model, then C-c C-c again to run it.

Installation

It is recommended to use the MELPA package archive to install abs-mode. Add the following lines near the beginning of your emacs init file (typically ~/.emacs):

(require 'package)
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
                         ("melpa" . "https://melpa.org/packages/")))
(package-initialize)

Restart emacs, then install abs-mode via M-x package-install RET abs-mode RET, or run M-x list-packages, select abs-mode from the list (press i on its line) and install (press x)..

Installation from source

Clone the repository, then add the following to your emacs init file (typically ~/.emacs):

(use-package abs-mode
  :load-path "~/path/to/abs-mode"
  :mode "\\.abs\\'")

This uses John Wiegley's excellent use-package package (https://github.com/jwiegley/use-package), which can be installed via M-x package-install RET use-package RET.

You can’t perform that action at this time.