head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2001.11.16.19.44.06; author ms; state dead; branches; next 1.3; 1.3 date 2001.11.16.19.41.50; author ms; state Exp; branches; next 1.2; 1.2 date 2001.11.14.13.59.21; author ms; state Exp; branches; next 1.1; 1.1 date 2001.11.12.20.18.01; author ms; state Exp; branches; next ; desc @@ 1.4 log @L2 grammar for the L2CDL (L2 Channel Description Language) removed to l2.pod @ text @=pod =head1 NAME B - Logging Library Channel Definition Language =head1 EBNF GRAMMAR B - Logging Library Channel Definition Language tree : stream /* channel tree */ ; stream : channel /* stream of channels */ | channel T_OP_ARROW stream | channel T_OP_ARROW '{' streams '}' ; streams : stream /* list of sibling streams */ | stream ';' streams ; /* channel */ channel : channel_level '/' channel_level ':' channel_cons | channel_level ':' channel_cons | channel_cons ; channel_level : T_ID /* channel level */ | '(' channel_level_mask ')' ; channel_level_mask : T_ID /* channel level mask */ | T_ID '|' channel_level_mask ; channel_cons : T_ID channel_params /* channel constructor */ ; channel_params : /* empty */ /* channel parameters */ | '(' channel_param_list ')' ; channel_param_list : /* empty */ /* channel parameter list */ | channel_param | channel_param ',' channel_param_list ; channel_param : T_ID '=' T_PARAM /* channel parameter */ ; @ 1.3 log @Reflect last state of grammar before killing it (it's in the pod file now.) @ text @@ 1.2 log @Corrected grammar typos and indentation. @ text @d1 1 a1 2 tree : stream /* channel tree */ ; d3 29 a31 17 stream : channel /* stream of channels */ | channel T_OP_ARROW stream | channel T_OP_ARROW '{' streams '}' ; streams : stream /* list of sibling streams */ | stream ';' streams ; channel : channel_level '/' channel_level ':' channel_cons /* channel */ | channel_level ':' channel_cons | channel_cons ; channel_level : T_ID /* channel level */ | '(' channel_level_mask ')' ; d37 2 a38 2 channel_cons : T_ID channel_params /* channel constructor */ ; d40 3 a42 3 channel_params : /* empty */ /* channel parameters */ | '(' channel_param_list ')' ; d45 3 a47 3 | channel_param | channel_param ',' channel_param_list ; d49 2 a50 2 channel_param : T_ID '=' T_PARAM /* channel parameter */ ; @ 1.1 log @Condensed and clarified EBNF grammar description of the L2 language. @ text @d2 1 a2 1 ; d5 3 a7 3 | channel T_OP_ARROW stream | channel T_OP_ARROW '{' streams '}' ; d10 2 a11 2 | stream ';' streams ; d14 3 a16 3 | channel_level ':' channel_cons | channel_cons ; d19 2 a20 2 | '(' channel_level_mask ')' ; d23 2 a24 2 | T_ID '|' channel_level_mask ; d26 2 a27 2 channel_cons : T_ID /* channel constructor */ ; d30 2 a31 2 | '(' channel_param_list ')' ; d34 3 a36 3 | channel_param | channel_param ',' channel_param_list ; d38 2 a39 2 channel_param : T_ID '=' /* channel parameter */ ; @