Merge from trunk.
[bpt/emacs.git] / etc / grammars / README
1 This directory contains grammar files in Bison and Wisent, used to
2 generate the parser data in the lisp/semantic/bovine/ and
3 lisp/semantic/wisent/ directories. You can run the parser generators
4 with
5
6 emacs -batch --no-site-file -l bovine-grammar.el -f semantic-mode \
7 -f semantic-grammar-batch-build-packages *.by
8
9 emacs -batch --no-site-file -l wisent-grammar.el -f semantic-mode \
10 -f semantic-grammar-batch-build-packages *.wy
11
12 The output files were subsequently edited by hand to fix copyright
13 headers, variable names (to follow library name conventions), and
14 feature names. These changes do not alter the code logic, and can be
15 viewed by diffing to the files in lisp/semantic/bovine/ and
16 lisp/semantic/wisent/.
17
18 Currently, the parser files in lisp/ are not generated directly from
19 these grammar files when making Emacs. This state of affairs, and the
20 contents of this directory, will change in a future version of Emacs.