diff options
author | Anthony Wang | 2022-07-07 18:11:12 -0500 |
---|---|---|
committer | Anthony Wang | 2022-07-07 18:11:12 -0500 |
commit | 9b62eed93c2ba0b5112ad804f97cabc0e95d6d5a (patch) | |
tree | af51388e7c937ae8b35836a78daa2a6a84641f77 | |
parent | 7a6fae8e11d8babc0e1d14f71630fb243841d3db (diff) |
Start working on toolchain
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | m | 4 | ||||
-rwxr-xr-x | mc | 4 | ||||
-rwxr-xr-x | mconv | 4 | ||||
-rwxr-xr-x | mplay | 4 |
5 files changed, 17 insertions, 1 deletions
@@ -19,6 +19,6 @@ Each note consists of multiple characters: ## Toolchain -The M compiler `mcc` will first interpret the Scheme program and generate an M intermediate format file with file extension `.min`. This file consists of all the music tone lines that the compiler ran into while interpreting the Scheme program. This can be then played by the `mplay` tool or converted to formats like `.mp3` with `mcon`. +The M compiler `mc` will first interpret the Scheme program and generate an M intermediate format file with file extension `.min`. This file consists of all the music tone lines that the compiler ran into while interpreting the Scheme program. This can be then played by the `mplay` tool or converted to formats like `.mp3` with `mconv`. The `m` wrapper tool automates this process and will compile and play an M file if no output is specified, or convert it to the desired output format if specified. @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") |