News for hackers. Stuff that matters.
Re:MISC: A homoiconic language based on maps by emmett on Wednesday July 09, 2008 @08:50PM (#241844)
A huge number of interesting ideas. High points for me:

An elegant system for metadata which can be used to implement documentation, pretty printing, types, debugging, logging, and other such meta things.

Keyword arguments are baked in for free.

Direct read/write access to the environment as a map.

Re:MISC: A homoiconic language based on maps by tokipin on Thursday July 10, 2008 @12:37AM (#242040)
> Direct read/write access to the environment as a map.

this is one of the things i like about Lua (which is listed there as a source of ideas)

i definitely don't like the choice of square brackets though, it's very ugly and hard to read. they should have stuck with parens

Re:MISC: A homoiconic language based on maps by tac-tics on Thursday July 10, 2008 @10:43AM (#242425)
I do like the square brackets. They don't require holding down shift. And when you're writing the next killer app, and in the process, end up setting the world record for the longest string of subsequent ')' characters... that saves you a ton of stress on your pinky finger ;-)
Re:MISC: A homoiconic language based on maps by mhb on Thursday July 10, 2008 @11:19AM (#242472)
Not if you re-map '(' and ')' to the '[' and ']' keys which, I think, is commonly done.
Re:MISC: A homoiconic language based on maps by tokipin on Thursday July 10, 2008 @12:15PM (#242564)
i use programmer dvorak :D all the brackets (except <>) are unshifted
Re:MISC: A homoiconic language based on maps by cousin_it on Thursday July 10, 2008 @03:17AM (#242144)
I don't like the required quoting/unquoting in let and lambda. Otherwise really good.
Re:MISC: A homoiconic language based on maps by emmett on Thursday July 10, 2008 @08:55AM (#242334)
I agree. It would be easy enough to write autoquoting versions as macros, but since the names are taken your new let/lambda would have to be named something else.
Re:MISC: A homoiconic language based on maps by serhei on Wednesday July 09, 2008 @10:38PM (#241946)
Very nice, although they could have reversed the roles of square and ordinary brackets. Especially since square brackets mean "list of stuff" in most scripting languages.
Re:MISC: A homoiconic language based on maps by etal on Thursday July 10, 2008 @12:24AM (#242029)
But think how much shift-key this saves. For a language that's fully bracketed/parenthesized, would be nice to be able to hit both bracket keys without holding Shift or tweaking the keybindings.
Re:MISC: A homoiconic language based on maps by newt0311 on Wednesday July 09, 2008 @10:12PM (#241929)
I was especially amazed by the syntax for quoting and forced evaluation. Very nice and seems better for some cases than the lisp backquote.