You dont even need ti-basic. You just need a few appvars with relocatable code. If that is not possible, you can just launch one program from another which results in tios copying the program to the code area and running it from there. Or you could make an app like everybody else but who does that anyway.