Language design idea: pure name-spaces

Jul 23, 2013 20:32


One of the nice things about Common Lisp is the pervasive use of (its notion of) symbol objects for names. For those unfamiliar, I'll give a quick introduction to the relevant parts of their semantics before going on to my actual proposal for a “good parts version”.

A CL symbol is an object (value, if you prefer). A symbol has a name (which is a ( Read more... )

e, programming, ideas

Leave a comment

Comments 2

ex_juan_gan July 24 2013, 05:18:29 UTC
This seems like a good step in the seemingly right direction.
Somehow reminds me RDF.

Reply

kpreid July 24 2013, 15:30:01 UTC
Heh, perhaps, but it's interesting to note that RDF actually fails at this. There are several things you can't do in RDF without minting string identifiers; particularly, you can't have an anonymous predicate. You can use local "#foo" URIs, but in principle those are relative to the base URI of the RDF document itself, which is also a string.

Reply


Leave a comment

Up