docco-like parser