// tt.c -- tangle to, written by John Ankarström -> tt.c #include #ifdef _WIN32 #include #pragma comment(lib, "Shlwapi.lib") #else #include #include #include #include #include #include #endif <> #define err(code, string) do { fprintf(stderr, "%s: %s: %s\n", string, strerror(errno)); exit(code); } while (0) #define die(...) do { fprintf(stderr, __VA_ARGS__); exit(1); } while (0) #define true 1 #define false 0 #define bool int <> int main(int argc, char *argv[]) { <> <> <> <> <> return 0; } void reference(char *line) { <> <> <> } bool insertion(char *line) { <> <> <> }