Help for this page

Select Code to Download


  1. or download this
    Add : Mult /[+-]/ Add
        | Mult
    
  2. or download this
    Add : Mult ( /[+-]/ Add )*
    
  3. or download this
    <rule: Add>
        <[X=Mult]> ** <[Op=(\+|-)]>
    
  4. or download this
    <rule: Equal>
        <X=Term> <Op=(==|!=|\x3c=\x3e|eq|ne|cmp)> <Y=Term>
        | <MATCH=LessGreater>
    
  5. or download this
    Equal : Term OP Term
          | LessGreater
    
  6. or download this
    Equal : LessGreater OP LessGreater
          | LessGreater
    
  7. or download this
    Equal : LessGreater (?: OP LessGreater )?
    
  8. or download this
    <rule: Equal>
        <X=LessGreater> (?: <Op=(==|!=|\x3c=\x3e|eq|ne|cmp)> <Y=LessGreate
    +r> )?
    
  9. or download this
    <rule: Equal>
        <X=LessGreater>
    ...
        |
            (?{ ... }
        )
    
  10. or download this
    #!perl
    use v5.10;
    ...
            say 'PARSE FAILURE';
        }
    }