Changes

Jump to navigation Jump to search
No change in size ,  20:07, April 23, 2012
m
→‎Example: get the operators correct
Line 216: Line 216:     
  ''Expression'' -> ''Term''                        # an ''Expression'' is either a ''Term''
 
  ''Expression'' -> ''Term''                        # an ''Expression'' is either a ''Term''
−
  ''Expression'' -> ''Expression'' ''AddSubOp'' ''Term''    #  or an ''Expression'' followed by '''*''' or '''/''' followed by a ''Term''
+
  ''Expression'' -> ''Expression'' ''AddSubOp'' ''Term''    #  or an ''Expression'' followed by '''+''' or '''-''' followed by a ''Term''
 
  ''Term''      -> ''Primary''                    # a ''Term'' is either a ''Primary''
 
  ''Term''      -> ''Primary''                    # a ''Term'' is either a ''Primary''
−
  ''Term''      -> ''Term'' ''MulDivOp'' ''Primary''      #  or a ''Term'' followed by '''+''' or '''-''' followed by a ''Primary''
+
  ''Term''      -> ''Term'' ''MulDivOp'' ''Primary''      #  or a ''Term'' followed by '''*''' or '''/''' followed by a ''Primary''
 
                                           #
 
                                           #
 
  ''Primary''    -> ''Number''                      # a ''Primary'' is either a ''Number''
 
  ''Primary''    -> ''Number''                      # a ''Primary'' is either a ''Number''
SkipCaptcha
265

edits

Navigation menu