book/src/atccl_ebnf_1.txt
changeset 1 866172a16472
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/book/src/atccl_ebnf_1.txt	Wed Mar 23 21:10:10 2011 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +prog                   = { rule }
     1.5 +rule                   = pttrn
     1.6 +                         | constrnt
     1.7 +                         | flowp
     1.8 +                         | COM
     1.9 +flowp                  = FLOWP STRING "(" flowp_entry ")"
    1.10 +flowp_entry            = pttrn_lbl ":" constrnt_lbl
    1.11 +pttrn_lbl              = STRING
    1.12 +constrnt_lbl           = STRING
    1.13 +constrnt               = CONSTRNT STRING "(" cterm ")"
    1.14 +cterm                  = TIMESEP AT string IS INTEGER si_unit
    1.15 +                         | TIMESEP AT string_array IS INTEGER si_unit
    1.16 +                         | TIMESEP AT string IS INTEGER si_unit 
    1.17 +                           FROM INTEGER UNTIL INTEGER
    1.18 +                         | TIMESEP AT string_array IS INTEGER si_unit 
    1.19 +                           FROM INTEGER UNTIL INTEGER
    1.20 +                         | TIMESEP AT string IS INTEGER si_unit 
    1.21 +                           AT FL int_array
    1.22 +                         | TIMESEP AT string_array IS INTEGER si_unit 
    1.23 +                           AT FL int_array
    1.24 +                         | TIMESEP AT string IS INTEGER si_unit 
    1.25 +                           FROM INTEGER UNTIL INTEGER AT FL int_array
    1.26 +                         | TIMESEP AT string_array IS INTEGER si_unit 
    1.27 +                           FROM INTEGER UNTIL INTEGER AT FL int_array
    1.28 +                         | cterm AND cterm
    1.29 +si_unit                = STRING
    1.30 +pttrn                  = PATTERN ( STRING "(" term ")" | "(" term ")" )
    1.31 +term                   = int_pt int_op INTEGER
    1.32 +                         | char_pt string_op string
    1.33 +                         | string_pt string_op string
    1.34 +                         | string_array_pt string_array_op string_array
    1.35 +                         | string_array string_array_op string_array_pt
    1.36 +                         | string string_string_array_op string_array_pt
    1.37 +                         | string string_string_array_op char_array_pt
    1.38 +                         | term OR term
    1.39 +                         | term AND term
    1.40 +                         | NOT term
    1.41 +                         | "(" term ")"