]> git.saurik.com Git - bison.git/blame - data/README
maint: run "make update-copyright"
[bison.git] / data / README
CommitLineData
8b76775a
AD
1-*- outline -*-
2
876fd835 3This directory contains data needed by Bison.
8b76775a 4
876fd835
AD
5* Skeletons
6Bison skeletons: the general shapes of the different parser kinds,
7that are specialized for specific grammars by the bison program.
8
9Currently, the supported skeletons are:
8b76775a
AD
10
11- yacc.c
12 It used to be named bison.simple: it corresponds to C Yacc
13 compatible LALR(1) parsers.
14
15- lalr1.cc
876fd835
AD
16 Produces a C++ parser class.
17
18- lalr1.java
19 Produces a Java parser class.
8b76775a
AD
20
21- glr.c
22 A Generalized LR C parser based on Bison's LALR(1) tables.
23
876fd835
AD
24- glr.cc
25 A Generalized LR C++ parser. Actually a C++ wrapper around glr.c.
26
8b76775a
AD
27These skeletons are the only ones supported by the Bison team.
28Because the interface between skeletons and the bison program is not
29finished, *we are not bound to it*. In particular, Bison is not
30mature enough for us to consider that ``foreign skeletons'' are
31supported.
32
876fd835
AD
33* m4sugar
34This directory contains M4sugar, sort of an extended library for M4,
35which is used by Bison to instantiate the skeletons.
36
37* xslt
38This directory contains XSLT programs that transform Bison's XML output
39into various formats.
40
41- bison.xsl
42 A library of routines used by the other XSLT programs.
43
44- xml2dot.xsl
45 Conversion into GraphViz's dot format.
46
47- xml2text.xsl
48 Conversion into text.
49
50- xml2xhtml.xsl
51 Conversion into XHTML.
52
8b76775a
AD
53-----
54
98744608 55Copyright (C) 2002, 2008-2009 Free Software Foundation, Inc.
8b76775a
AD
56
57This file is part of GNU Bison.
58
f16b0819 59This program is free software: you can redistribute it and/or modify
8b76775a 60it under the terms of the GNU General Public License as published by
f16b0819
PE
61the Free Software Foundation, either version 3 of the License, or
62(at your option) any later version.
8b76775a 63
f16b0819 64This program is distributed in the hope that it will be useful,
8b76775a
AD
65but WITHOUT ANY WARRANTY; without even the implied warranty of
66MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67GNU General Public License for more details.
68
69You should have received a copy of the GNU General Public License
f16b0819 70along with this program. If not, see <http://www.gnu.org/licenses/>.