Draft of attribute syntax API

Adding a +1 from @adamhjk for external memory (via IRC meeting).