This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Bblezz: An implementation of blezz (https://github.com/Blezzing/blezz) in pure bash. | |
# Output of actions can be redirected like # { out="$( COLUMNS=$COLUMNS bblezz file.blezz 2>&1 1>&5 5>&-)"; } 5>&1; | |
# TODO List: | |
# [v] Handle trying to enter undefined directories. | |
# [ ] trim_surrounding_spaces > Remove spaces from the right properly too. | |
# [ ] general > command line options to define glyphs, colors and starting dir. | |
# Reset ANSI colors: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Project Fallvale MML parsing component | |
//Usage: | |
//You can edit the string "tmp" at main(), or you can pass a MML-formatted string with "-play": | |
//for example, mmlplay -play "t128 o4 cdec+8>d8e16d16d8e" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <time.h> | |
#include <assert.h> |