Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course:CECS 541 Instructor: Dr. Michael...
-
Upload
oswald-bradley -
Category
Documents
-
view
214 -
download
0
Transcript of Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course:CECS 541 Instructor: Dr. Michael...
SIMPLE INTERPRETED LANGUAGE
Authors: Peter CappelloDamon ChastainMatthew Urtnowski
Course: CECS 541Instructor: Dr. Michael HoffmanDate: Fall 2010
SIL Program Statements
Integer Statement
Let Statement Print Statement Println
Statement Read Statement If … Then
Statement While Statement
For Statement Begin … End
Statement Function Statement Declare Array
Statement Add to Array
Statement Array Length
Statement
SIL Bonus Features
Multiple identifiers can be declared with one statement.
Multiple expressions and literals can be printed with one statement.
Comparison operations >= , <= , and != be implemented in boolean statements.
Logical operators AND and OR can be used in boolean statements
Additional data types Boolean, String, Double and Array can be used.
SIL uses step by step execution in parsing. ‘#’ symbol used for line comments