burger
play

BURGer P L T F A L L 2 0 1 7 TEAM MEMBERS Adrian Ashley Jordan - PowerPoint PPT Presentation

BURGer P L T F A L L 2 0 1 7 TEAM MEMBERS Adrian Ashley Jordan Jacqueline System Architect Tester Manager Language Guru ft. Frederick (Freddy) Kellison-Linn OVERVIEW General-purpose programming language BURGer is


  1. BURGer P L T F A L L 2 0 1 7

  2. TEAM MEMBERS Adrian Ashley Jordan Jacqueline System Architect Tester Manager Language Guru ft. Frederick (“Freddy”) Kellison-Linn

  3. OVERVIEW • General-purpose programming language • BURGer is statically typed and convenient to use • Allows top-level code • Functions

  4. ARCHITECTURE SCANNER PARSER SEMANTIC CHECKING CODE GENERATION LLVM IR BURGer EXECUTABLE

  5. TYPES • BURGer supports integers, booleans, strings, and a null type • BURGer has explicit type declarations • BURGer supports variable initialization int x; int y = 12; bool z = true; string hello = “Hello World!”;

  6. SYNTAX Control Flow Function Declaration int i; def int add(int a, int b) i = 0; { println(“add!”) while (i < 5) return a + b; { } println(”yum"); println(”burger"); print(add(1, 3)) i = i+1; }

  7. BEHIND THE SCENES • A ”hidden” main function wraps top-level BURGer code • Print functions are implemented in a standard library written in C

  8. PROCESS • Group meetings on Monday, meetings with Freddy on Tuesdays

  9. LESSONS LEARNED • Functional programming • How a compiler works • Start early • Use resources available • Be realistic

  10. DEMO

Recommend


More recommend