Simple parser definition utility using composable functions