Check-in Number:
|
1296 | |
Date: |
2001-Nov-12 21:18:01 (local)
2001-Nov-12 20:18:01 (UTC) |
User: | ms |
Branch: | |
Comment: |
Condensed and clarified EBNF grammar description of the L2 language. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/l2/l2_spec_ebnf -> 1.1
*** /dev/null Sat Nov 23 00:55:02 2024
--- - Sat Nov 23 00:55:36 2024
***************
*** 0 ****
--- 1,39 ----
+ 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_level '/' channel_level ':' channel_cons /* channel */
+ | 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 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 '=' /* channel parameter */
+ ;
|
|