This preview shows page 1-2-3-4-5-6-7-8-9-10-72-73-74-75-76-77-78-79-80-81-82-146-147-148-149-150-151-152-153-154-155 out of 155 pages.
CLAW Columbia Language for Altering Waveforms Shloke Mittal Jeffrey Polanco Vivek Ramdev Bill Wang2Contents Chapter 1............................................................................................................................. 4 1.1 Introduction............................................................................................................... 4 CLAW......................................................................................................................... 4 Columbia Language for Altering Waveforms ............................................................ 4 1.2 Background............................................................................................................... 4 1.2.1 Introduction to Sound/WAVE ........................................................................... 4 1.2.2 Introduction to the Java Sound API................................................................... 5 1.3 Goals of our language:.............................................................................................. 6 1.3.1 Powerful............................................................................................................. 6 1.3.2 Practical.............................................................................................................. 6 1.3.3 Simple ................................................................................................................ 7 1.3.4 Portable .............................................................................................................. 7 1.3.5 Efficient.............................................................................................................. 7 Chapter 2............................................................................................................................. 8 Tutorial................................................................................................................................ 8 2.1 The Block.................................................................................................................. 8 2.2 The OUT Block......................................................................................................... 8 2.3 The .claw File Structure............................................................................................ 9 Chapter 3........................................................................................................................... 11 Reference Manual ............................................................................................................. 11 3.1 Lexical Conventions ............................................................................................... 11 3.1.1 Whitespace....................................................................................................... 11 3.1.2 Comments ........................................................................................................ 11 3.1.3 Identifiers ......................................................................................................... 11 3.1.4 Separators......................................................................................................... 11 3.1.5 Keywords ......................................................................................................... 12 3.1.6 Constants.......................................................................................................... 12 3.2 Description of Reserved Words.............................................................................. 13 3.3 Grammar ................................................................................................................. 14 Chapter 4........................................................................................................................... 15 Project Plan ....................................................................................................................... 15 4.1 Process .................................................................................................................... 15 4.2 Roles and Responsibilities ...................................................................................... 15 4.3 Code Style Conventions.......................................................................................... 15 4.3.1 General Principles............................................................................................ 16 4.3.2 Line Spacing .................................................................................................... 16 4.4 Project Timeline...................................................................................................... 16 Chapter 5........................................................................................................................... 17 Architecture....................................................................................................................... 17 5.1 Program flow .......................................................................................................... 17 5.1.1 Lexer, Parser, and Tree Parser ......................................................................... 17 5.1.2 Java Backend ................................................................................................... 1935.2 Wave Format........................................................................................................... 26 5.2.1 CLAW Modifications to Wave Files ............................................................... 27 Chapter 6........................................................................................................................... 29 Test Plan............................................................................................................................ 29 6.1 ANTLR Testing ...................................................................................................... 29 6.2 Java Testing ............................................................................................................ 30 6.2.1 White Box Examples ....................................................................................... 31 6.2.2 Regression and Black Box Testing Examples ..................................................... 31 Chapter
View Full Document