]> git.saurik.com Git - bison.git/blob - data/README
1698e252148f1184a054da8d80267736d11169f8
[bison.git] / data / README
1 -*- outline -*-
2
3 This directory contains data needed by Bison.
4
5 * Skeletons
6 Bison skeletons: the general shapes of the different parser kinds,
7 that are specialized for specific grammars by the bison program.
8
9 Currently, the supported skeletons are:
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
16 Produces a C++ parser class.
17
18 - lalr1.java
19 Produces a Java parser class.
20
21 - glr.c
22 A Generalized LR C parser based on Bison's LALR(1) tables.
23
24 - glr.cc
25 A Generalized LR C++ parser. Actually a C++ wrapper around glr.c.
26
27 These skeletons are the only ones supported by the Bison team.
28 Because the interface between skeletons and the bison program is not
29 finished, *we are not bound to it*. In particular, Bison is not
30 mature enough for us to consider that ``foreign skeletons'' are
31 supported.
32
33 * m4sugar
34 This directory contains M4sugar, sort of an extended library for M4,
35 which is used by Bison to instantiate the skeletons.
36
37 * xslt
38 This directory contains XSLT programs that transform Bison's XML output
39 into 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
53 -----
54
55 Copyright (C) 2002, 2008-2010 Free Software Foundation, Inc.
56
57 This file is part of GNU Bison.
58
59 This program is free software: you can redistribute it and/or modify
60 it under the terms of the GNU General Public License as published by
61 the Free Software Foundation, either version 3 of the License, or
62 (at your option) any later version.
63
64 This program is distributed in the hope that it will be useful,
65 but WITHOUT ANY WARRANTY; without even the implied warranty of
66 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67 GNU General Public License for more details.
68
69 You should have received a copy of the GNU General Public License
70 along with this program. If not, see <http://www.gnu.org/licenses/>.