]> git.saurik.com Git - bison.git/blame - etc/README
maint: word changes
[bison.git] / etc / README
CommitLineData
3cedc2dc
AD
1* bench.pl
2A primitive Perl script to run benches. Currently its only bench is
3the usual calculator: it has a lightweight processing part (but not
4null), so it is really emphasizing the cost of the whole parsing
5(including scanning and I/O).
6
7Set the envvars BISON and CC to the programs and flags you want to
8use. They default to bison and gcc. To run a non-installed bison
9from a tarball built in _build, I suggest the following.
10
11 BISON=_build/tests/bison CC='gcc -O2' ./bench.pl
12
13(The _build/tests/bison wrapper makes sure that _build/src/bison will
14use the tarballs' skeletons, not those already installed as a
15straightforward use of _build/src/bison would.)
16
17--
18
c932d613 19Copyright (C) 2006, 2009-2012 Free Software Foundation, Inc.
3cedc2dc
AD
20
21This file is part of Bison, the GNU Compiler Compiler.
22
f16b0819 23This program is free software: you can redistribute it and/or modify
3cedc2dc 24it under the terms of the GNU General Public License as published by
f16b0819
PE
25the Free Software Foundation, either version 3 of the License, or
26(at your option) any later version.
3cedc2dc 27
f16b0819 28This program is distributed in the hope that it will be useful,
3cedc2dc
AD
29but WITHOUT ANY WARRANTY; without even the implied warranty of
30MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31GNU General Public License for more details.
32
33You should have received a copy of the GNU General Public License
f16b0819 34along with this program. If not, see <http://www.gnu.org/licenses/>.
3cedc2dc
AD
35
36Local Variables:
37mode: outline
38End: