]> code.delx.au - gnu-emacs/blob - etc/grammars/README
Add Semantic grammar files to etc/grammars
[gnu-emacs] / 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 \
7 -l semantic/bovine -l semantic/wisent -l semantic/grammar \
8 -l semantic/lex -l bovine-grammar.el \
9 -f semantic-mode -f semantic-grammar-batch-build-packages *.by
10
11 emacs -batch --no-site-file \
12 -l semantic/bovine -l semantic/wisent -l semantic/grammar \
13 -l semantic/lex -l wisent-grammar.el \
14 -f semantic-mode -f semantic-grammar-batch-build-packages *.wy
15
16 Currently, the parser files in lisp/ are not generated directly from
17 these grammar files when making Emacs. This state of affairs, and the
18 contents of this directory, will change in a future version of Emacs.