Skip to main contentCal State San Bernardino / [CNS] / [Comp Sci Dept] / [R J Botting] / [CSci320] [Search ]
[Schedule] [Syllabi] [Text] [Labs] [Projects] [Resources] [Grading] [Contact]
Sessions: [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]
expressions.html (HTML) [expressions.txt(Text)] Thu Apr 26 17:20:50 PDT 2007

Contents


    The Syntax and Semantics of Mathematical Expressions

      History

      The original research for this language was carried out in late Victorian times by the Rev'd Charles Dodgson in his paper on the design for a new mathematics building in Oxford University, England.

      Syntax

    1. expression::= top middle bottom.
    2. top::=":" | ";" | "8".
    3. middle::="-".
    4. bottom::="(" | "|" | ")".

      Example

       		:-)

      Semantics

      The top indicates if the writer is normal, winking, or wearing glasses, respectively.

      The bottom indicates the emotional state of the writer - the "(" indicating sadness and displeasure, where as the ":-)" indicates joke.

      Note

      Strings like
       			(-:
      indicate that the writer is either dyslexic or standing on their head.

End