Gwion is a programming language, aimed at making music
strongly inspired by chuck, but adding a bunch high-level features:
templating, first-class functions and more.
It aims to be simple, small, fast, extendable and embeddable.
You might just want the minimum to start with, try
git clone https://github.com/fennecdjay/Gwion
cd Gwion
git submodule update --init util ast
make
You can get a list of config files to tweak with
find . -name "config.mk"
Please rebuild to take your change into account.
make -C util clean
make -C ast clean
make clean
make
Besides develloper options, you migth want to check USE_DOUBLE, in util/config.mk, which set the floating point size (float or double).
This assumes you have successfully compiled gwion. To build follow these steps . To check, if the build was successfully run
./gwion
if this gives out some error, there were problems with your compilation.
Try building again, and open a issue
if the problem persists. We would love to help you out.
If you see no errors, Congratulations!! You have successfully compiled gwion, and can move ahead.
Create a new file "hello_world.gw" in the same directory.(You are free to use any command)
touch hello_world.gw
Open this file using your favourite text editor
vim hello_world.gw
Add the following lines to print "Hello World" (Note the semicolon at the end)
<<< "Hello World" >>>;
Save and exit the file(:wq in vim). Use the following command to run your first gwion program
./gwion hello_world.gw
Congratulations!! You ran your first gwion program.
It's a good idea to install Gwion now that you have tried it out. Use the following command to install it
sudo make install
You want to know more? ๐ Look here Both outdated and WIP ๐ท but a nice place to learn and contribute
๐ Every helping hand is welcome!!! ๐
If there's anything you see that can make Gwion better, please let us know!
๐ Please see the contributing page for more information.
The whole Chuck team, for inspiration.
Paul Batchelor and the awesome soundpipe library, that got me started.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
NOTE: if you should be on the list of contributors but we forgot you, don't be shy and let us know!