Re:Fancy: first bootstrapped language targeting Rubinius VM ...
by bakkdoor on Wednesday February 23, 2011 @10:06PM
(#2256775)
You mean symbol literals? Ruby uses :foo but that would mix up with the keyword message syntax. So I took Lisp's syntax: 'foo =) Also, since you'll want to have syntax for message names as well, they need to be able to have colons in them, e.g. 'foo:bar:. Basically anything non-whitespace starting with a "'" is taken as a symbol literal.
[ Parent
| on HN ]
There are no comments on this comment yet.