1 / 16

coolinary

coolinary. a recipe language. prof. al aho programming languages & translators columbia university spring 2011. project team. andrew dunn project manager. johnny weber system architect. alpha bah system integrator. david gainer language guru. what is coolinary?.

munin
Download Presentation

coolinary

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. coolinary • a recipe language prof. al aho programming languages & translators columbia university spring 2011

  2. project team andrew dunn project manager johnny weber system architect alpha bah system integrator david gainer language guru

  3. what is coolinary? • coolinary is a language parses a reduced form recipe and outputs the nutritional value

  4. use cases • development of school lunch programs • facebook game such as café world • calorie counting applications for mobile devices

  5. coolinary structure

  6. basic food types • water • fruit • grain • veggies • liquid • meat • dairy

  7. water • fundamental cooking ingredient

  8. veggies • asparagus • broccolli • carrots • cauliflower • celery • cucumber • mushroom • onion • potato • tomato

  9. grains • barley • corn • millet • oats • rice • rye • spelt • wheat

  10. fruit • apple • avocado • banana • cantaloupe • grapefruit • grapes • honeydew • kiwi • lemon • orange • pear • pineapple • strawberry • watermelon

  11. cooking operations • cook • bake • boil • grill • fry

  12. mixtures • combine elements • synthesize new properties of the mixture

  13. cooking operations • cook • bake • boil • grill • fry

  14. cooking effects • scaled factors based on the duration of the effect • increase or decrease in nutrition and chemical elements

  15. hello world • /* boil water */ • { • water.boil(); • }

  16. sample input • /* recipe for a steak dinner*/ • { • potato pot; • pot.quantity = 5; • broccolli broc; • filet steak(); • steak.quantity = 1; • broc.bake(10); • pot.fry(8); • steak.grill(8); • mixture steakSpecial = combine(pot, broc, steak); • display(special); • }

More Related