improve parser

we are now able to parse macro definitions