First step towards a flex-based parser

This still needs to support @import