# match.t # Test the auto-matching behavior of the parser use test_spike; #use Data::Dumper::Simple; plan tests => 1 * blocks()…
Grammar+Analysis 源代码
汇集 Grammar+Analysis 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
# action.t # Test user-defined actions in grammars use strict; use warnings; use test_spike; use Text::Balanced; plan tests => …
#: spike_parser.pm #: simple parser for BNF #: 2006-05-25 2006-05-28 package Spike::Parser; use strict; use warnings; use Parse:…
# test_spike.pm # testbed for spike.pl package test_spike; use Test::Base -Base; use File::Temp qw/ tempfile /; our @EXPORT = q…
# LL1_eval.t # Test LL1::Eval use Test::Base; use LL1_parser; use LL1_eval; plan tests => 2 * blocks() + 14; my $Ast; #$::LL1…
# t/Util.pm package t::Util; use strict; use warnings; #use Data::Dumper::Simple; use base 'Exporter'; use LL1; our @EXPORT_OK…
# first_follow.t # Test First/Follow sets generators use Test::Base; use t::Util qw/ parse_grammar dump_fsets /; use LL1_table; …
# LL1_table2.t # Test the LL1_table sub use Test::Base; use LL1_table; use t::Util qw/ parse_grammar dump_LL1_table /; plan tes…
# LL1_parser.t # Test LL1::Parser use Test::Base; use LL1_Parser; use t::Util qw/ parse_grammar /; plan tests => 3 * blocks(); …
/*============================================================================= Copyright (c) 2001-2003 Hartmut Kaiser C…