Thanks, Stefan.
I get the following error, though.
julia> eval(parse(clipboard()))
ERROR: MethodError: `data` has no method matching data(::Symbol)
in arg_gen at process.jl:624
in cmd_gen at process.jl:646
in clipboardcmd at interactiveutil.jl:95
in clipboard at interactiveutil.jl:109
On Monday, May 2, 2016 at 5:29:49 PM UTC+2, Stefan Karpinski wrote:
> eval(parse(clipboard())) will do it.
>
> On Mon, May 2, 2016 at 7:28 AM, Ali Rezaee > wrote:
>
>>
>>
>> Hi,
>>
>> Is there a function or macro that pastes the copied code into REPL?
>> something similar to %paste in iPython.
>>
>> Thanks :)
>>
>
>