Presentation is loading. Please wait.

Presentation is loading. Please wait.

THRLL Programming Language Aimee Sanchez Neetha Sebastion Kapil Verma Hemanth Murthy Michael Seaman.

Similar presentations


Presentation on theme: "THRLL Programming Language Aimee Sanchez Neetha Sebastion Kapil Verma Hemanth Murthy Michael Seaman."— Presentation transcript:

1 THRLL Programming Language Aimee Sanchez Neetha Sebastion Kapil Verma Hemanth Murthy Michael Seaman

2 INTRODUCTRION The theme park industry generated $11.5 billion in the United States in 2006 1 Theme parks represent large investments for their owners Revenue is difficult to predict 1 – IAAPA, http://www.iaapa.org/pressroom/Amusement_Park_Industry_Statistics.asphttp://www.iaapa.org/pressroom/Amusement_Park_Industry_Statistics.asp

3 THRLL Programming Language Easy-to-use, declarative language Simulates a theme park to predict revenue Tool for estimating the returns on investments in the park

4 THRLL Programming Language Hub and Spoke Layout

5 THRLL Programming Language Hub and Spoke Layout Industry Standard Terminology Requires only moderate programming experience

6 Structure of THRLL Language Let’s start our THRLL experience with a sample program. Two sections – object definitions and user code. Easy to use constructs like Park, Crowd, Land etc.

7 Sample Program

8 System Architecture Lexer / Parser Input Program Intermediate Code GUI Position File Crowd Land Park Store Attraction Restaurant Intermediate Code GUI Position File

9 Front-End Architecture THRLL Parser Jflex BYACC thrill_grammar.y thrill_lexer.flex SampleThrill.txt ThrillProgram.java Intermediate Code

10 System Architecture Lexer / Parser Input Program Intermediate Code GUI Position File Crowd Land Park Store Attraction Restaurant Intermediate Code GUI Position File

11 Intermediate Code

12 Park Our Park has:. Attraction Store Restaurant Park Land Crowd Person

13 Built-In Functions Calculate Revenue ◦ Parameters: Crowd, Duration result = CalculateRevenue: MyCrowdOne, days; ◦ Sum of expenses and income Simulate ◦ Simulate: MyCrowdOne; ◦ Creates position file ◦ Graphical representation of guests interactions

14 The GUI Lexer / Parser Input Program Intermediate Code GUI Position File Crowd Land Park Store Attraction Restaurant Intermediate Code GUI Position File

15 Graphical User Interface (GUI)

16 GUI

17 Development Tools Java API Eclipse BYACC JFLEX Google Code SVN Lots and lots of email!

18 Testing Incremental Testing ◦ Unit testing ◦ Working of grammar ◦ Working of backend ◦ Integration testing Provide efficient error checking and error reporting

19 Conclusions What we learned ◦ Great experience working in a team ◦ Development tools ◦ Making a language is hard What worked well ◦ Weekly Meetings ◦ Update on the status of progress

20 Conclusions Why THRLL ◦ Ease of Use ◦ Ease in calculation of net revenue ◦ Optimal theme park experience for both investors and guests


Download ppt "THRLL Programming Language Aimee Sanchez Neetha Sebastion Kapil Verma Hemanth Murthy Michael Seaman."

Similar presentations


Ads by Google