compiling individual snippet and producing an auto-generated target file

DIDE already has (experimental) compiling (in the WIP menu). We should enhance this so that we can produce the final executable that also appears in the TLT page, ready to be selected and executed (in another ticket).