PP —the grammar description language from Hoa\Compiler— support in Emacs.
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.
screenshots
.gitignore
CHANGELOG.md
Cask
README.md
hoa-pp-mode.el

README.md

Hoa

MELPA MELPA Stable

Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds.

Contributions/Emacs/Pp

This repository contains tools for the PP grammar description language from Hoa\Compiler.

It provides a major mode for editing PP grammars with the following features:

  • Syntax coloration,
  • Auto-indentation,
  • Imenu support.

PP Major mode screenshot

Installation

If you have setup MELPA or MELPA stable repositories, type M-x package-install hoa-pp-mode.

If you want to install it by hand, you must first install names.

Then, clone this repository on your computer.

git clone git@github.com:hoaproject/Contributions-Emacs-Pp.git hoa-pp-mode

Finally, add this code in your Emacs configuration:

(add-to-list 'load-path "/path/to/hoa-pp-mode")
(require 'hoa-pp-mode)

Quick usage

Simply open a .pp file with Emacs. hoa-pp-mode will automatically be enabled.

Documentation

Different documentations can be found on the website: http://hoa-project.net/.

License

Hoa is under the New BSD License (BSD-3-Clause). Please, see LICENSE.