implementation of interactive expansion for Scala macros