1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00
emacs/admin/grammars
Juanma Barranquero fe7a3057a3 Fix typos.
2011-11-20 20:35:27 +01:00
..
bovine-grammar.el
c.by Spelling fixes. 2011-11-19 23:30:16 -08:00
java-tags.wy Fix typos. 2011-11-20 20:35:27 +01:00
js.wy
make.by
python.wy Fix typos. 2011-11-12 00:17:16 +01:00
README
scheme.by
wisent-grammar.el

This directory contains grammar files in Bison and Wisent, used to
generate the parser data in the lisp/semantic/bovine/ and
lisp/semantic/wisent/ directories.  You can run the parser generators
with

emacs -batch --no-site-file -l bovine-grammar.el -f semantic-mode \
 -f semantic-grammar-batch-build-packages *.by

emacs -batch --no-site-file -l wisent-grammar.el -f semantic-mode \
 -f semantic-grammar-batch-build-packages *.wy

The output files were subsequently edited by hand to fix copyright
headers, variable names (to follow library name conventions), and
feature names.  These changes do not alter the code logic, and can be
viewed by diffing to the files in lisp/semantic/bovine/ and
lisp/semantic/wisent/.

Currently, the parser files in lisp/ are not generated directly from
these grammar files when making Emacs.  This state of affairs, and the
contents of this directory, will change in a future version of Emacs.