* etc/bench.pl.in: Bench the three-stack lalr1.cc vs. the
one-stack one.
+2008-11-03 Akim Demaille <demaille@gostai.com>
+
+ Bench the three-stack lalr1.cc.
+ * etc/bench.pl.in: Bench the three-stack lalr1.cc vs. the
+ one-stack one.
+
2008-11-03 Akim Demaille <demaille@gostai.com>
Fail on parse error in calc++.
);
}
+=item C<bench_fusion_parser ()>
+
+Bench the C++ lalr1.cc parser using Boost.Variants or %union.
+
+=cut
+
+sub bench_fusion_parser ()
+{
+ bench_grammar
+ ('variant',
+ (
+ "split" => [],
+ "fused" => ['%skeleton "lalr1-fusion.cc"'],
+ )
+ );
+}
+
############################################################################
sub help ($)
verbose 1, "Using cxx=$cxx.\n";
verbose 1, "Using cflags=$cflags.\n";
# bench_push_parser();
-bench_variant_parser();
+# bench_variant_parser();
+bench_fusion_parser();
### Setup "GNU" style for perl-mode and cperl-mode.
## Local Variables: