Download presentation
Presentation is loading. Please wait.
1
COMS 4115 Programming Language and Translator Tsung-Kai Lin(tl2450) Jie Huang(jh3105) Fang Da(fd2263) Ran Wang(rw2409) Shao-Chuan Wang(sw2644) Computer Science, Columbia University1
2
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University2
3
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University3
4
Day Trading Buying and Selling within one day High frequency and short term trading Computer Science, Columbia University4
5
Predict the Trend Indicators can help predict the trend of stocks Apply strategy to make money Computer Science, Columbia University5
6
Searching For Potential Computer Science, Columbia University6 Stock Market Subset Potential Stock Indicator Action Portfolio Subset Potential Stock Indicator Buy Sell
7
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University7
8
Simple Computer Science, Columbia University8 Trend Following
9
Efficient @BUY MA1(10) crossup MA1(15) select “MSFT”, “GOOG”, “DELL” Computer Science, Columbia University9
10
10 > (0) 3 + 2 = 5 Math.round(2) 1 + 2 = 3 volume (1) 1 Property.getd(2) 0 + 0 + 2 = 2 “MSFT” (0) 0 “volume” (0) 0
11
Efficient Computer Science, Columbia University11
12
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University12
13
Executable Java Compiler Architecture Computer Science, Columbia University13 Source Lexeme Stream Lexer Syntax Tree Parser Annotated Synt. Tree Semantic Anal. Code Optimizer Code Generator Strategy EngineGUI Run-time Library Data Source
14
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University14
15
Software Development Environment Simulation System Stock market simulation Trading system simulation Distributed Development Google Code repository Bug Tracking ○ Bug list Bug list ○ Sample bug Sample bug Meeting Log Feature maintenance Computer Science, Columbia University15
16
Implementation OS Platform Languages and IDE Eclipse Multi-level Makefiles SVN External Libraries JFLEX BYACC Computer Science, Columbia University16
17
System Integration Integration within the translator Integration across entire system Computer Science, Columbia University17
18
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University18
19
Test Plan: Agile Testing Focus on working software Test script before commit the code Responding to changes Pair/triple programming weekly Hierarchical test framework: Unit test/Regression test System test Tools: Junit/Makefile script/Bash script Computer Science, Columbia University19
20
Unit tests/Regression Test Screenshot Computer Science, Columbia University20
21
Snapshots on test case (1/2) Check if the syntax errors are issued correctly Also check the line number. Computer Science, Columbia University21 ParserSyntaxErrorTest.java
22
Snapshots on test case (2/2) Computer Science, Columbia University22 Multiple definitio ns of the same function names TypeCheckNameConflictionTest.java
23
System Test Screenshot Generate the compiled java sources codes. Diff with the “answers”. Computer Science, Columbia University23
24
Outline Introduction (Tsung-Kai) Language Feature (Jie) System Architecture (Fang) Implementation and Integration (Ran) Test Plan (Shao-chuan) Demo Computer Science, Columbia University24
25
Computer Science, Columbia University25
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.