edit todo
refactoring: parseChar DecQ -> Dec