The macros are defined here:

https://github.com/JuliaLang/julia/blob/master/base/printf.jl#L750-L784

It should be a matter of detecting that there's a splat happening – keep in
mind that splats can be mixed with other arguments – and emitting the
appropriate code in the macro. It may be possible by adding a single line
that does something along these lines:

julia> argsʹ = tuple(args...)
(1,2,3,4,5)


and then uses argsʹ instead of args afterwards. You'd also have to change
the argument count checking in that case to be done at runtime instead of
macro expansion time.


On Mon, Apr 14, 2014 at 11:27 AM, Jeff Waller <[email protected]> wrote:

>
>
> On Monday, April 14, 2014 10:58:15 AM UTC-4, Stefan Karpinski wrote:
>>
>> Up for grabs issue: https://github.com/JuliaLang/julia/issues/6520. If
>> anyone is interested in doing a bit of metaprogramming, this is a good
>> opportunity.
>>
>
> Oh!  Me, I mean I'm saying all these things, I should also invest too.
>  But I hardly know where to start.
>

Reply via email to