@AMIGA-FAN
Sorry but in my opinion it does make sense: even normal programs do contain if condition and conditional branches for instance and DO GET compiled.
Yeah, but AmigaDOS scripts are no way normal programs. Shell has no DO GET or other direct loops anyway, you need to use LAB, IF and SKIP BACK.
The purpose of compiling shell scripts is to make them quick at running
Minimal time is spent on flow control. 99% of CPU time is spent on actually executing the commands.
Also, if you want 'execute' command to work the script MUST be executed from a script file as usual.
To get this thing going without a script file you'd need to implement 100% shell emulator, with emulated resident commands (if, else, endif, skip, lab, echo etc etc) and execute. And it would still be only marginally faster, as most of the time is actually spent on the external commands. It's not worth it.