Try to resolve issue #35: implement iterative parsing.