Concatination has lowest precedence in Snobol. Snobol hates missing or extra blanks in its statements. Prolog and Lisp still to be covered. Exam on Tuesday now. Assignment Selection Relation operators Data types Snobol value determines data types. The data type chagnes with the value assigned. Arrays in Snobol are not homogeneous (data types). wordlist = Array('20') doesn't have any idea what type of data will be stored here, nor does it care. Pascal indexes (arrays) start wherever they are specified to. myArray = array[a..n] of integer; (*is an anonymous array, cannot be passed as a parameter*) Snobol returns values from a function just like Fortran, by having a value assigned to the function name. Snobol has no if statements per se. It uses GoTo's based on built-in, (comparison) functions. Snobol statements end at the end of the line. Reasons for studying programming languages: Most important criteria for a language: Readibility Simplicity Orthogonality ~ Hard to grasp. In some cases all cominations are possible Control statements Selection Iteration Subprograms Syntax Reserved words (none in Fortran, lots in Pascal) Keywords (lots in Snobol) Close second: Writability Third place (but still dang important) Reliability Exception Handling Type checking Aliasing Fourth (minor detail here) Cost Compilation and Interpretation Difference? Compilation interprets once and can be run many times afterwards. Interpretation translates every time code is needed to run. Take a look at the slides for Lecture 2 from the book! It'll be on the exam! (Chapters 1, 3, 5, 6) Grammars, Bindings...