Before LLMs, you could use the GNU GPL or other copyleft licenses to protect your code from being used to develop non-free software. Unfortunately, the courts have decided that LLMs are free to ignore licenses.
Copyleft is about republishing. You can't prevent anyone from using your compiler or text editor to develop non-free software.
Copyleft is about republishing. You can't prevent anyone from using your compiler or text editor to develop non-free software.