1 / 5

Simple Interpreted Language

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

morty
Télécharger la présentation

Simple Interpreted Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Simple Interpreted Language Authors: Peter Cappello Damon Chastain Matthew Urtnowski Course: CECS 541 Instructor: Dr. Michael Hoffman Date: Fall 2010

  2. 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

  3. 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

More Related