DOC PREVIEW
Columbia COMS W4115 - m - A language for music generation

This preview shows page 1-2-19-20 out of 20 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 20 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 20 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 20 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 20 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 20 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

m A language for music generation. Language Reference Manual Yiling Hu (yh2378) Monica Ramirez‐Santana (mir2115) Jiaying Xu (jx2129) Table of Contents Language Reference Manu al ........................................................................................................................ 3 Introduction .............................................................................................................................................. 3 Lexical Conventions ................................................................................................................................... 3 Tokens ................................................................................................................................................... 3 Comments ............................................................................................................................................. 3 Identifiers .............................................................................................................................................. 3 Keywords ............................................................................................................................................... 3 Literals ................................................................................................................................................... 4 Identifiers .................................................................................................................................................. 4 Scope ..................................................................................................................................................... 5 Types ..................................................................................................................................................... 5 Objects ...................................................................................................................................................... 6 Objects, lvalues, and rvalues ................................................................................................................. 6 Promotion ............................................................................................................................................. 6 Expressions................................................................................................................................................ 6 Primary Expressions .............................................................................................................................. 6 Postfix Expressions ................................................................................................................................ 7 Unary Operators ................................................................................................................................... 7 Multiplicative Operators ....................................................................................................................... 8 Additive Operators ................................................................................................................................ 8 Relational Operators ............................................................................................................................. 8 Equality Operators ................................................................................................................................ 9 Logical AND Operator ........................................................................................................................... 9 Logical OR Operator .............................................................................................................................. 9 Assignment Expressions ........................................................................................................................ 9 Declarations ............................................................................................................................................ 10 Function Declarators ........................................................................................................................... 10 Array Declarators ................................................................................................................................ 10 Initialization............................................................................................................................................. 11 Statements .............................................................................................................................................. 11 Compound Statement ......................................................................................................................... 12 Selection Statements .......................................................................................................................... 12 Iteration Statements ........................................................................................................................... 12 Function Definitions ................................................................................................................................ 12 Grammar ..................................................................................................................................................... 13 Appendix ..................................................................................................................................................... 16 scanner.mll .............................................................................................................................................. 16 parser.mly ............................................................................................................................................... 18 Language Reference Manual Introduction This manual describes the syntax for the m language, a language for algorithmic music generation. Lexical Conventions An m program consists of a single file with the syntax described in this document. Tokens There are five types of tokens: identifiers, keywords, operators, literals, and separators. Spaces, tabs, and newlines (collectively, “white space”) are ignored except when used as separators. Separators are white space that is needed to separate


View Full Document

Columbia COMS W4115 - m - A language for music generation

Documents in this Course
YOLT

YOLT

13 pages

Lattakia

Lattakia

15 pages

EasyQL

EasyQL

14 pages

Photogram

Photogram

163 pages

Espresso

Espresso

27 pages

NumLang

NumLang

6 pages

EMPATH

EMPATH

14 pages

La Mesa

La Mesa

9 pages

JTemplate

JTemplate

238 pages

MATVEC

MATVEC

4 pages

TONEDEF

TONEDEF

14 pages

SASSi

SASSi

16 pages

JTemplate

JTemplate

39 pages

BATS

BATS

10 pages

Synapse

Synapse

11 pages

c.def

c.def

116 pages

TweaXML

TweaXML

108 pages

Load more
Download m - A language for music generation
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view m - A language for music generation and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view m - A language for music generation 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?