Compile-time parsing of expansions