cknadler / marktab-c

Concise, machine readable guitar tabs
MIT License
36 stars 7 forks source link

Marktab

Build Status

Concise, machine readable, guitar tabs.

Library

Marktab is a statically linkable C library written in flex, Bison and plain C99 (no libraries).

To get Marktab up and running in your project...

Build and install it:

$ make && make install

Include Marktab's header:

// prog.c
#include <marktab.h>

//...

Link against Marktab with gcc:

$ gcc prog.c -lmt

API

Currently, the API is pretty minimal (read terrible). More will be added soon.

// Renders a tab from stdin to stdout
void marktab_rend_stdin();

// Renders a tab from a file to stdout
int marktab_rend_file(char* file);

Docs

The Marktab grammar is fairly solid at this point. Until the first implementation is finished, this is the only real source of documentation for the language. If you have any questions or comments, feel free to open an issue.

There are several examples of Marktab in action located in examples.

Contributing

Issues and, better yet, pull requests are more than welcome. See CONTRIBUTING for details.

Marktab would not be what it is without the help of some awesome contributors.

Copyright

Copyright (c) 2013 Chris Knadler. See LICENSE for details.