Julia would come close to that - script while prototyping and compile when done.
I'm not too familiar with Julia but afaik it compiles the forms entered in the REPL as well.
Julia would come close to that - script while prototyping and compile when done.