

processParser :: Parser Process
processParser =  nullParser
             <|> prefixParser
             <|> parallelParser

-- null process
nullParser :: Parser Process
nullParser = do
    reserved "word"
    name <- identifier
    return $ Lexeme name

prefixParser :: Parser Process