DOC PREVIEW
Columbia COMS W4115 - TabPro - A Table Generation language

This preview shows page 1-2-3-4-30-31-32-33-34-62-63-64-65 out of 65 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 65 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 65 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 65 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 65 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 65 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 65 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 65 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 65 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 65 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 65 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 65 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 65 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 65 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 65 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

TabPro:A Table Generation languageAnureet Dhillon Lakshmi Nadig Rajat Dixit19 December 2008Contents1. An Introduction to TabPro ............................................................... 61.1 Background.................................................................................. 61.2 Goals of TabPro ........................................................................... 62. Language Tutorial............................................................................. 62.1 Preparing Tabpro......................................................................... 62.2 Declaring Variables...................................................................... 72.3 Declaring and Calling Functions .................................................. 72.4 Working with Columns and indexes............................................ 82.5 Generating Table......................................................................... 82.6 Simple function ........................................................................... 82.7 More Examples............................................................................ 92.8 Exceptions and Errors................................................................ 113. Reference Manual .......................................................................... 143.1 Lexical Conventions................................................................... 143.1.1 whitespace: ........................................................................... 153.1.2 Comments: ............................................................................ 153.1.3 Identifiers: ............................................................................. 153.1.4 Keywords:.............................................................................. 153.1.5 Constants............................................................................... 153.1.6 Declarations........................................................................... 153.1.7 Operators: ............................................................................. 153.1.8 Separators: ............................................................................ 163.1.9 Scope and Name Space: ........................................................ 163.1.10 Built in functions and reserved keywords:............................ 163.2 Types: ........................................................................................ 163.3 Expressions................................................................................ 173.3.1 Primary Expressions .............................................................. 173.3.2 Indexed expression................................................................ 173.3.3 Index range expression.......................................................... 183.3.4 Column Size expression......................................................... 183.3.5 Function Calls ........................................................................ 183.3.6 Expressions with Arithmetic Operators ................................ 183.3.7 Expressions with Relational Operators ................................. 183.3.8 Expressions with Assignment operators ............................... 193.3.9 Expression with Comma Operator ........................................ 193.4 Statements ................................................................................ 193.4.1 Declaration Statement .......................................................... 193.4.2 Block Statement .................................................................... 203.4.3 Conditional statements......................................................... 203.4.4 return statement................................................................... 203.4.5 Iteration Statements ............................................................. 203.4.6 Function Declaration ............................................................. 213.5 Pre-Processor/Library Support.................................................. 214. Project Plan ..................................................................................... 234.1 Team Responsibilities................................................................ 234.2 Project Timeline ........................................................................ 234.3 Software Development Environment........................................ 234.4 Project Log................................................................................. 265. Architectural Design ....................................................................... 265.1 Architecture............................................................................... 26Statement(list)....................................................................................... 285.2 The Runtime Environment ........................................................ 286. Testing Plan..................................................................................... 286.1 Goals.......................................................................................... 286.2 Phase 1 – Scanner test .............................................................. 286.3 Phase 2 – Parser Tests ............................................................... 296.4 Phase 3 – Interpreter Tests ....................................................... 306.5 Phase 4 – Regression Tests........................................................ 327. Lessons Learned ............................................................................ 338. Potential Enhancements................................................................ 348.1 Short Term................................................................................. 348.2 Long Term.................................................................................. 344. Appendix .......................................................................................... 344.1 Code Listing for the main interpreter....................................... 344.1.1 Scanner_TablePro.mll ........................................................... 344.1.2 Parser_TablePro.mly ............................................................. 364.1.3 AST_TablePro.mll .................................................................. 394.1.4 Interpreter.ml........................................................................ 404.1.5


View Full Document

Columbia COMS W4115 - TabPro - A Table Generation language

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 TabPro - A Table Generation language
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 TabPro - A Table Generation language 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 TabPro - A Table Generation language 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?