All Projects → sergeyklay → bnf-mode

sergeyklay / bnf-mode

Licence: GPL-3.0 license
A GNU Emacs major mode for editing BNF grammars

Programming Languages

emacs lisp
2029 projects
Makefile
30231 projects

Projects that are alternatives of or similar to bnf-mode

language-grammars
Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related languages.
Stars: ✭ 14 (-58.82%)
Mutual labels:  bnf, backus-naur-form
modern-sh
🎸 An Emacs minor mode for editing shell script.
Stars: ✭ 27 (-20.59%)
Mutual labels:  emacs-mode, emacs-package
list-environment.el
A tabulated process environment editor
Stars: ✭ 13 (-61.76%)
Mutual labels:  emacs-mode, emacs-package
Emacs Fsharp Mode
F# Emacs mode
Stars: ✭ 160 (+370.59%)
Mutual labels:  emacs-mode
Zoom
Fixed and automatic balanced window layout for Emacs
Stars: ✭ 252 (+641.18%)
Mutual labels:  emacs-mode
Live Py Plugin
Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
Stars: ✭ 222 (+552.94%)
Mutual labels:  emacs-mode
subed
Subtitle editor for Emacs
Stars: ✭ 143 (+320.59%)
Mutual labels:  emacs-mode
Psc Ide Emacs
Emacs integration for PureScript's psc-ide tool.
Stars: ✭ 130 (+282.35%)
Mutual labels:  emacs-mode
zephir-sublime
Sublime Text syntax highlighting for for Zephir
Stars: ✭ 41 (+20.59%)
Mutual labels:  editor-plugin
intellij-firebase-highlighter
A Syntax Highlighter for Firebase Rules.
Stars: ✭ 26 (-23.53%)
Mutual labels:  bnf
gradle-grammar-kit-plugin
Gradle plugin for generating lexers (with JFlex) and BNF parsers (with Grammar-Kit) for IntelliJ language plugins
Stars: ✭ 76 (+123.53%)
Mutual labels:  bnf
tla-tools
TLA+ tools for Emacs
Stars: ✭ 27 (-20.59%)
Mutual labels:  emacs-mode
demangle-mode
Emacs minor mode that automatically demangles C++, D, and Rust symbols
Stars: ✭ 18 (-47.06%)
Mutual labels:  emacs-mode
v-mode
🌻 An Emacs major mode for the V programming language.
Stars: ✭ 49 (+44.12%)
Mutual labels:  emacs-mode
elm-syntax-highlighting
Syntax Highlighting for Elm in Sublime Text
Stars: ✭ 27 (-20.59%)
Mutual labels:  editor-plugin
elm-format-on-save
Sublime Text plugin to run elm-format on save
Stars: ✭ 18 (-47.06%)
Mutual labels:  editor-plugin
Org Msg
OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
Stars: ✭ 153 (+350%)
Mutual labels:  emacs-mode
lexertk
C++ Lexer Toolkit Library (LexerTk) https://www.partow.net/programming/lexertk/index.html
Stars: ✭ 26 (-23.53%)
Mutual labels:  bnf
godot-admob-editor
This repository is for Godot's Addons to integrate natively AdMob to your Game Project without much configurations, with a beautiful UI and directly inside Godot Editor!
Stars: ✭ 43 (+26.47%)
Mutual labels:  editor-plugin
nroam
Org-roam backlinks within org-mode buffers
Stars: ✭ 106 (+211.76%)
Mutual labels:  emacs-package

BNF Mode for GNU Emacs

https://img.shields.io/badge/license-GPL_3-green.svg https://github.com/sergeyklay/bnf-mode/workflows/build/badge.svg https://elpa.gnu.org/packages/bnf-mode.svg https://melpa.org/packages/bnf-mode-badge.svg https://stable.melpa.org/packages/bnf-mode-badge.svg

A GNU Emacs major mode for editing BNF grammars.

“Precise language is not the problem. Clear language is the problem.”

Richard Feynman

Currently provides basic syntax and font-locking for BNF files. BNF notation is supported exactly form as it was first announced in the ALGOL 60 report. EBNF and ABNF are not supported but their implementation is planned in the near future.

When developing this mode, the following documents were taken into account:

Features

  • Basic syntax definition
  • Syntax highlighting

Installation

Known to work with GNU Emacs 24.3 and later. BNF Mode may work with older versions of Emacs, or with other flavors of Emacs (e.g. XEmacs) but this is not guaranteed. Bug reports for problems related to using BNF Mode with older versions of Emacs will most like not be addressed.

The master of all the material is the Git repository at https://github.com/sergeyklay/bnf-mode .

NOTE: The master branch will always contain the latest unstable version. If you wish to check older versions or formal, tagged release, please switch to the relevant tag.

The recommended way is to use ELPA, MELPA Stable or MELPA. If either is in your package-archives, do:

M-x package-install RET bnf-mode RET

To learn on how to use any other installation methods refer to relevant documentation.

Usage

Interactive Commands

Command (For the M-x prompt.)Description
bnf-modeSwitches to BNF Mode.

By default any file that matches the glob *.bnf is automatically opened in bnf-mode.

Customization

To customize various options, use command as follows:

M-x customize-group RET bnf RET

Support

Feel free to ask question or make suggestions in our issue tracker .

Changes

To see what has changed in recent versions of BNF Mode see: https://github.com/sergeyklay/bnf-mode/blob/master/NEWS .

External Links

License

BNF Mode is open source software licensed under the GNU General Public Licence version 3. Copyright © 2019, 2020, Free Software Foundation, Inc.

Note On Copyright Years

In copyright notices where the copyright holder is the Free Software Foundation, then where a range of years appears, this is an inclusive range that applies to every year in the range. For example: 2005-2008 represents the years 2005, 2006, 2007, and 2008.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].