60 likes | 156 Views
Simple Interpreted Language. Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course: CECS 541 Instructor: Dr . Michael Hoffman Date: Fall 2010. SIL Program Statements. Integer Statement Let Statement Print Statement Println Statement Read Statement
E N D
Simple Interpreted Language Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course: CECS 541 Instructor: Dr. Michael Hoffman Date: 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