Columbia COMS W4115 - SLAWscript Final Report (169 pages)

Previewing pages 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169 of 169 page document View the full content.
View Full Document

SLAWscript Final Report



Previewing pages 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169 of actual document.

View the full content.
View Full Document
View Full Document

SLAWscript Final Report

62 views


Pages:
169
School:
Columbia University
Course:
Coms W4115 - Programming Languages and Translators
Programming Languages and Translators Documents

Unformatted text preview:

Columbia University Programming Languages and Translators Spring 2007 Professor Edwards SLAWscript Final Report Steve Henderson Levi Lister Abe Skolnik Wei Teng SLAWscript Final Report Page 2 of 169 Table of Contents Section Starting Page Number Section 1 Introduction 5 1 1 Executive Summary 6 1 2 Introduction 6 1 3 Key Features 6 1 4 Representative program 7 1 5 Examples of Syntax 7 1 6 Relevant Terminology 7 Section 2 Language Tutorial 8 2 1 Getting Started 9 2 2 Using Variables 9 2 4 Control Flow 10 3 1 Introduction 12 3 1 1 Hello World 12 3 2 Lexical Conventions 12 3 2 1 Comments 12 3 2 2 Constants 12 3 2 3 Identifiers 12 3 2 4 Keywords 13 3 2 5 Numeric Literals 13 3 2 6 String Literals 13 3 2 7 White Space 13 3 3 Subroutines 14 3 3 1 Subroutine Scope summarily static 14 3 3 2 Procedures 14 3 3 3 Functions 14 3 4 Variables 15 3 4 1 Data Types 15 3 4 2 Assignment 15 3 4 3 Variable Scope summarily dynamic 15 3 4 4 Randomization 16 3 5 Operators 16 3 5 1 Unary Operators 16 3 5 2 Binary and Tertiary Operators 17 3 5 3 Operator Precedence 17 3 5 4 Operator Chaining 18 3 6 Auto conversion 18 3 6 1 Unary Operator Auto conversion 18 3 6 2 Binary Operator Auto conversion 19 3 6 3 Boolean Context 20 3 6 4 Integer Context 20 SLAWscript Final Report Page 3 of 169 3 7 Conditionals 20 3 8 Loops 21 3 8 1 repeat times Loops 21 3 8 2 repeat with Loops 21 3 8 2 1 Note on repeat with Precision 22 3 8 3 while Loops 22 3 9 Input and Output 23 3 9 1 Input 23 3 9 2 Output 23 3 10 Program Termination 23 3 10 1 stop 23 3 10 2 Assertions 23 3 11 User defined Constants 24 3 12 Formal Grammar 25 3 13 Summary 28 Section 4 Project Plan 29 4 1 Project Overview 30 4 1 1 Purpose Scope and Objectives 30 4 1 2 Assumptions Constraints and Risks 30 4 1 3 Project Deliverables 31 4 1 4 Schedule Summary 31 4 2 Project Processes 31 4 2 1 4 2 2 4 2 3 4 2 3 Planning 31 Specification 32 Development 32 Testing 32 4 3 Programming Style Guide 33 4 4 Project Time line 35 4 5 Roles and Responsibilities 38 4 5



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view SLAWscript Final Report and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view SLAWscript Final Report and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?