Does you Compact have ethernet?
I think BBEdit has built-in FTP, so with that you could edit your code remotely and do the compiles via MacSSH, which runs fairly well on the 68ks I've tried it with.
If you don't have ethernet you could connect via serial and copy/paste your code from your editor to ZTerm.
I did something comparable for a while with my Quadra and it was very decent.
I think BBEdit has built-in FTP, so with that you could edit your code remotely and do the compiles via MacSSH, which runs fairly well on the 68ks I've tried it with.
If you don't have ethernet you could connect via serial and copy/paste your code from your editor to ZTerm.
I did something comparable for a while with my Quadra and it was very decent.