Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GENSYM is Harder than You Think

Name: Anonymous 2013-06-26 18:50

How does one implements GENSYM[1] in a robust and thread safe way? What if several programs have to interchanged generated SEXPs, so that symbols wont clash? Say two different compilers gensyming assembly output may produce clashing identifiers.

[1] http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/fun_gensym.html

Name: Anonymous 2013-06-28 3:31

>>9
Prepend all gensymed symbols with an id unique to all machines in the network.

printed SEXPs dont have packages.
They do if you print them like:this.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List