sick beets team roles
play

Sick Beets Team Roles Courtney Angel Kevin Jin Manager - PowerPoint PPT Presentation

Sick Beets Team Roles Courtney Angel Kevin Jin Manager Language System Tester Guru Architect Project Goal Create a language that makes it easy to compose music by rendering MIDI files Language Basics & Control Flow bool if-else


  1. Sick Beets

  2. Team Roles Courtney Angel Kevin Jin Manager Language System Tester Guru Architect

  3. Project Goal Create a language that makes it easy to compose music by rendering MIDI files

  4. Language Basics & Control Flow bool if-else int string for loop float while loop array

  5. Language Specifics Notes print Durations setTempo setInstrument Tunes render addLayer

  6. Basics of Making Music note duration augment tune Format: i.e. eb6 Durations: Augment : Types of Tune NoteAccidental w: whole uses the Manipulation: Octave-Offset h: half operator ‘:’ concat ‘.’ ○ q: quarter setTempo ○ Accidentals: i: eighth i.e. tune = setInstrument ○ ‘b’ or ‘#’ or ‘’ s: sixteenth note(s) : addLayer ○ t: thirty-second duration(s) Octaves: middle C = 5 * can combine

  7. Mary Had a Little Lamb 1 tune x = [e,d,c,d,e,e,e,r] : i 2 tune y = [d,d,d,r,e,g,g,r] : i 3 tune z = [e,d,d,e,d,c] : i 4 5 tune mary = x.y.x.z 6 tune maryflute = setInstrument(mary, "flute") 7 tune marypiano = setInstrument(mary,"piano") 8 9 render (marypiano.maryflute, "mary.midi")

  8. Compiler Architecture

  9. Test Suite --------------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++ -- 52 out of 54 tests passed Failing Tests: test-error 1c1 < 115 \ No newline at end of file --- > not 115 \ No newline at end of file test-error2 Fatal error: exception Parsing.Parse_error ---------------------------------------------------------------------------

  10. Running a Program + Demo 1. Compile the CFugue Library cd CFugue cmake CMakeLists.txt make cd .. 2. Make the compiler make 3. Compile the .sb file llvm and run the llvm code ./sb.native < test.sb > test.ll lli test.ll

  11. Thank You!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend