1 / 20

THRLL Programming Language

THRLL Programming Language. Aimee Sanchez Neetha Sebastion Kapil Verma Hemanth Murthy Michael Seaman. 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.

PamelaLan
Download Presentation

THRLL Programming Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 20061 • Theme parks represent large investments for their owners • Revenue is difficult to predict 1 – IAAPA, http://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 Park Land Crowd Input Program Intermediate Code Lexer / Parser Restaurant Attraction Store Intermediate Code GUI GUI Position File Position File

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

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

  11. Intermediate Code

  12. Our Park has: • . Park Park Attraction Restaurant Store Land

  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 Park Land Crowd Input Program Intermediate Code Lexer / Parser Restaurant Attraction Store Intermediate Code GUI GUI Position File 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

More Related