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