integrating grammar with source generator (phase 1)