Clone of https://gitorious.org/abnotation/gsharp Fork of gshap.