Hoa is a modular, extensible and structured set of PHP libraries. Moreover, Hoa aims at being a bridge between industrial and research worlds.
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.
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)
Simply open a .pp
file with Emacs. hoa-pp-mode
will automatically be enabled.
Different documentations can be found on the website: http://hoa-project.net/.
Hoa is under the New BSD License (BSD-3-Clause). Please, see
LICENSE
.