From 9b62eed93c2ba0b5112ad804f97cabc0e95d6d5a Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 7 Jul 2022 18:11:12 -0500 Subject: Start working on toolchain --- README.md | 2 +- m | 4 ++++ mc | 4 ++++ mconv | 4 ++++ mplay | 4 ++++ 5 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 m create mode 100755 mc create mode 100755 mconv create mode 100755 mplay diff --git a/README.md b/README.md index e5bc315..43b62cf 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/m b/m new file mode 100755 index 0000000..8b18461 --- /dev/null +++ b/m @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") diff --git a/mc b/mc new file mode 100755 index 0000000..8b18461 --- /dev/null +++ b/mc @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") diff --git a/mconv b/mconv new file mode 100755 index 0000000..8b18461 --- /dev/null +++ b/mconv @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") diff --git a/mplay b/mplay new file mode 100755 index 0000000..8b18461 --- /dev/null +++ b/mplay @@ -0,0 +1,4 @@ +#!/usr/bin/guile -s +!# + +(display "hello world") -- cgit v1.2.3-70-g09d2