feat: general parser improvements and features (#45, #44, #42, #39, #31)