DOC PREVIEW
Columbia COMS W4115 - An Introduction to PaCaml

This preview shows page 1-2-3-4-5-38-39-40-41-42-43-76-77-78-79-80 out of 80 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 80 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Pa aml Pac-Man Game Programming Language Chun-Kang Chen(cc3260) Hui-Hsiang Kuo (hk2604) Shuwei Cao (sc3331) Wenxin Zhu (wz2203) Final Report 12.22.2011Thanks to our teammates!Thanks to our teammates!Thanks to our teammates!I Contents 1. An Introduction to PaCaml ............................................................................................. 1 1.1 Background .......................................................................................................... 1 1.2 Description ........................................................................................................... 1 1.3 Features ................................................................................................................ 2 1.4 A Quick Look at PaCaml Code ............................................................................ 2 2. Language Tutorial ........................................................................................................... 4 2.1 Sample Program ................................................................................................... 4 2.2 How to Compile and Run the Sample Program ................................................... 5 2.3 How to Write a PaCaml Source File .................................................................... 6 2.4 Other Functionalities .......................................................................................... 10 2.4.1 Functions ..................................................................................................... 10 2.4.2 Arithmetic Functionality ............................................................................. 10 2.4.3 Assignment ................................................................................................. 11 2.4.4 Recursive..................................................................................................... 11 2.4.5 Loop ............................................................................................................ 12 2.4.6 Logic ........................................................................................................... 12 2.4.7 Condition..................................................................................................... 13 3. Language Reference Manual ........................................................................................ 15 3.1 Lexical conventions............................................................................................ 15 3.1.1 Comments ................................................................................................... 15 3.1.2 Naming ........................................................................................................ 15 3.1.3 Keywords .................................................................................................... 16 3.2 Data Types.......................................................................................................... 16 3.2.1 Primitive Data Types .................................................................................. 16 3.2.2 Derived Data Types .................................................................................... 17 3.2.3 Game-specific Types .................................................................................. 17 3.3 Expressions......................................................................................................... 19 3.3.1 Unary operators ........................................................................................... 19 3.3.2 Additive operators ....................................................................................... 19II 3.3.3 Multiplicative operators .............................................................................. 20 3.3.4 Relational operators .................................................................................... 20 3.3.5 Equality operators ....................................................................................... 21 3.3.6 expression && expression: ......................................................................... 21 3.3.7 expression || expression: .............................................................................. 21 3.4 Declarations ........................................................................................................ 21 3.5 Statements and Blocks ....................................................................................... 21 3.5.1 Expression statement .................................................................................. 21 3.5.2 Conditional statement ................................................................................. 22 3.5.3 While statement .......................................................................................... 22 3.5.4 Blocks ......................................................................................................... 22 3.5.5 Return statement ......................................................................................... 23 3.6 Function Definitions ........................................................................................... 23 3.6.1 Basic Functions ........................................................................................... 23 3.6.2 Built-in Functions ....................................................................................... 23 4. Project Plan ................................................................................................................... 26 4.1 Project Management Process .................................................................................. 26 4.2 Programming Style Guide....................................................................................... 26 4.3 Project Time Management ...................................................................................... 27 4.3.1 Events List .................................................................................................. 27 4.3.1 Events and Time Estimation ....................................................................... 28 4.3.2 Gantt Chart .................................................................................................. 28 4.4 Roles and Responsibilities ................................................................................. 29 4.5 Software Development Environment ................................................................. 29 4.5.1


View Full Document

Columbia COMS W4115 - An Introduction to PaCaml

Documents in this Course
YOLT

YOLT

13 pages

Lattakia

Lattakia

15 pages

EasyQL

EasyQL

14 pages

Photogram

Photogram

163 pages

Espresso

Espresso

27 pages

NumLang

NumLang

6 pages

EMPATH

EMPATH

14 pages

La Mesa

La Mesa

9 pages

JTemplate

JTemplate

238 pages

MATVEC

MATVEC

4 pages

TONEDEF

TONEDEF

14 pages

SASSi

SASSi

16 pages

JTemplate

JTemplate

39 pages

BATS

BATS

10 pages

Synapse

Synapse

11 pages

c.def

c.def

116 pages

TweaXML

TweaXML

108 pages

Load more
Download An Introduction to PaCaml
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view An Introduction to PaCaml 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 An Introduction to PaCaml 2 2 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?