C (gcc), 176 bytes, score 14 main(){}prtf&+
#define f(c,d)for(k=c+1;k--;)printf(#d); n;k;g(){f(n,main)}main(c){for(;c=~getchar(g());puts("(printf(&a))){}}")){f(,(a){)f(c+38?-2-c:9507,if(++a))puts("if(");g(++n);}f(,(){})} Excluding \n as printable ASCII, otherwise puts => printf