Symbol macros just replace a symbol with some expression.<div>That's obviously too simple a mechanism to implement {}</div><div>object literal notation, which as you note would require</div><div>extending the reader. It's an idea that's been tossed around</div>

<div>from time to time but no one has done it yet.</div><div><br></div><div><div><div><br><div class="gmail_quote">On Sat, Jan 19, 2013 at 11:33 AM, David Sargeant <span dir="ltr"><<a href="mailto:david@dsargeant.com" target="_blank">david@dsargeant.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="margin:0px;font-size:12px">What does <span style="font-family:Times">(</span><span style="font-family:Courier">DEFINE-PS-SYMBOL-MACRO</span><span style="font-family:Times"> symbol expansion) </span>do?  I found the following in non-cl.lisp, which got me thinking.</div>

<div style="margin:0px;font-size:12px;min-height:14px"><br></div><div style="margin:0px;font-size:12px">(define-ps-symbol-macro {} (create))</div><div style="margin:0px;font-size:12px;min-height:14px"><br></div><div style="margin:0px;font-size:12px">

Is there some way to extend the reader so that you could do {:name "David" :age 34} instead of (create :name "David" :age 34)?</div><span class="HOEnZb"><font color="#888888"><div style="margin:0px;font-size:12px;min-height:14px">

<br></div><div style="margin:0px;font-size:12px;min-height:14px"><br></div><div style="margin:0px;font-size:12px">David</div></font></span></div><br>_______________________________________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net">parenscript-devel@common-lisp.net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel</a><br>
<br></blockquote></div><br></div></div></div>