AND-OR parsing and PIPE parsing implemented. Works for test-p-ok script.