Logiweb(TM)

7.1.3.2 Disambiguation

Prev Up Next Page 124 of 800 Search internet


Consider the following lgs source text:

   ""P my page
   ""D 0 ""n 2 ""n 3 ""n 4 ""n 5
   ""D 2
   " * "
   ""D 6
   " + "
   ""B
   2 * 3 + 4 * 5

Using blue brackets for understood parentheses, the body reads:

[2 * 3] + [4 * 5]

That is so because 'plus' has greater charge than 'times' and thus 'plus' becomes the principal operator of the expression. Note that charge is the precise opposite of priority: Constructs with high charge have low priority and vice versa.

Prev Up Next Page 124 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05