Merge branch 'add-setup'

This commit is contained in:
Bartłomiej Pluta
2019-10-11 16:46:26 +02:00
10 changed files with 73 additions and 92 deletions

View File

@@ -253,7 +253,7 @@ Note literal is written with the following syntax:
; where
PITCH := (c|d|e|f|g|a) [b|#] | h# | b
| (C|D|E|F|G|A) [B|#] | H# | B
| (C|D|E|F|G|A) [b|#] | H# | B
OCTAVE := 1-9
DURATION := /non-negative integer/
```
@@ -277,7 +277,7 @@ Examples (note that pitch is case-insensitive):
* `@F5:2` is half note with pitch *f''*
* `@g#3:4d` is dotted quarter note with pitch *g♯*
* `@Ab6:16` is sixteenth note with pitch *a♭'''*
* `@b2:1` is whole note with pitch *B* (*H*)
* `@b2:1` is whole note with pitch *B* (*H*)
* `@C#1:32d` is dotted thirty-second note with pitch *C♯,*
**Note:** note literal syntax cannot include any whitespace character.
@@ -2364,3 +2364,9 @@ to see what is going on at each language processing stage:
* `--ast` - *pretty-prints* abstract syntax tree as parser's output for passed code
* `--dry-run` - runs language-processing tools without involving evaluator
## Installation
To install SMNP:
1. Make sure you have already installed *PortAudio* in your OS (it is required by Audio Module
to send data frames to your sound device)
2. Clone this repository and enter to it
3. Run `pip install .` inside root repository folder