Parse and compile composite command