Hi Visesh, I'm interested in your questions and they are similar to things I've struggled with, but I can't help much so I hope someone else can.
BUT... I wonder if you can explain a bit more about what is the big picture you are trying to achieve? It feels to me that you are trying to do something slightly un-Julian. If you explain the big picture of what you're trying to achieve, I suspect someone here can help you find a clean Julian way to achieve it. So far, your questions are clear, focused and concise, but without a bigger context, I suspect some experts here are unsure how to help although they could probably suggest a cleaner approach. It sounds like you want to read an expression for a file? Is that right? If so, that doesn't "feel" right to me. In any case, good luck and welcome to Julia :) Best regards, Eric On Saturday, April 2, 2016 at 8:56:48 AM UTC+8, [email protected] wrote: > > oh wait, is it eval? > > eval(:(:x)) -> :x? > > On Friday, April 1, 2016 at 5:52:42 PM UTC-7, [email protected] wrote: >> >> > x = :(:x) >> > $x >> >> *ERROR: unsupported or misplaced expression $* >> >> >> Is there a quote/unquote function that mimics the behavior or what >> happens when you wrap something with :() or do $x? I want to retrieve >> what's inside the variable x's expression. >> >> It's not sufficient to just wrap in Expr(:quote, ...) since that's not >> the same as :() and similarly I can't find any documentation on how to >> unquote something. >> >> There must be some routine being called in order to do the >> quoting/unquoting - is there a way to access it? >> >> >> Vishesh >> >
