Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mooz/lemon-mode
Emacs major mode for editing LEMON grammar files
https://github.com/mooz/lemon-mode
Last synced: about 1 month ago
JSON representation
Emacs major mode for editing LEMON grammar files
- Host: GitHub
- URL: https://github.com/mooz/lemon-mode
- Owner: mooz
- Created: 2012-06-21T13:40:40.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-16T13:04:30.000Z (almost 12 years ago)
- Last Synced: 2023-04-19T13:57:28.773Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 104 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Lemon mode
A major mode for editing LEMON Parser Generator grammar files.
** What's this?
[[http://www.hwaci.com/sw/lemon/][Lemon]] is a simple but very powerful parser generator for C/C++. This
major mode will help you for editing Lemon's grammar files in the
Emacs editor.Two major mode =lemon-c-mode= and =lemon-c++-mode=, which
lemon-mode.el provides, allow you to explicitly specify the base
editing mode that affects syntax highlighting and indentation
mechanism.** Usage
Place =lemon-mode.el= in a directory in your emacs's =load-path=.
: (require 'lemon-mode)
Then invoke =lemon-mode= (which is identical to =lemon-c-mode=) in the
buffer where lemon grammar file is extracted.Optionally, you can bind lemon-mode to the files with certain
extensions.: (add-to-list 'auto-mode-alist '("\\.y$" . lemon-mode))
** References
- LEMON Parser Generator ([[http://www.hwaci.com/sw/lemon/]])