first unfinished draft of a new interval parser

see issue #136