interactive compilation and simulation