ADaM : Macros for ADaM programming