Good questions!
> Can you do this within copyright laws? (i.e. is it enforceable?) How are you sure?
I can do it under copyright because I was very careful to only do what has been tested with the GPL in court.
When the GPL was tested in court, at last once or twice the infringers tried to argue that the GPL didn't apply to machine code because machine code was substantially different from the copyrighted form (source code).
Courts have rejected this, saying that a different form is not substantially different.
My licenses basically encode that specifically, by saying that running any algorithm on the software that also produces software does not make the output of the algorithm substantially different from the input, even if the input is only partially the software under the license.
> (another question: how is your license both permissive and viral?)
Copy and paste error. (Since the licenses have many of the same things, I copied and pasted a lot.) I'll fix it next time I'm at my desktop machine.