tj / luna

luna programming language - a small, elegant VM implemented in C
2.45k stars 147 forks source link

composite structures #9

Closed tj closed 11 years ago

tj commented 12 years ago

similar to lua: [1,2,3], [foo:bar, bar: baz]. we could maybe then use {} as a Hash, these hashes could then of course be typed and expose helpful methods like hash.keys(), hash.values(), hash.each: key, val etc

weepy commented 12 years ago

Please don't use 1-indexing from lua ^_^

tj commented 12 years ago

dont plan on it :D haha

weepy commented 12 years ago

talking of lua - will the event machine be like lua or more like javascript (partly of course that's down to the 3rd party code that's written for it)

tj commented 12 years ago

haven't really decided yet, I have a few different ideas, but I'm really tempted to make zmq front and center with some sort of actor model, perhaps libuv