Search found 429 matches

by itistoday
Tue Dec 04, 2007 1:24 am
Forum: Anything else we might add?
Topic: More about Lutz's new macro
Replies: 22
Views: 11657

Hi, while playing around with Lutz's original macro I tried to do stuff like this: (:x pt 2) And it didn't work. :p So I set about to fix that. I had planned on reading this thread when I was finished and low and behold I saw that michael had done a similar thing. I then copied some of the suggestio...
by itistoday
Mon Dec 03, 2007 11:13 pm
Forum: newLISP newS
Topic: Better array support?
Replies: 6
Views: 3146

Sounds like a good idea - for all types to be equal! You can sort a list that contains mixed-type elements, so I see no reason why you couldn't do the same for an array. I wrote a C vector implementation a while ago that let you do this, you can use it just like a list, except insertions/removal fr...
by itistoday
Mon Dec 03, 2007 9:14 pm
Forum: newLISP newS
Topic: Contexts as Objects
Replies: 42
Views: 21931

Hi, I'm a newLISP newBIE and while trying to understand Lutz's awesome macro I went through and formatted it nicely in C-style and added comments. If there are any other newbies out there that are confused by it perhaps this may help: (define-macro (data-type) (let (ctx (context (args 0 0))) ; sets ...
by itistoday
Mon Dec 03, 2007 2:44 am
Forum: newLISP newS
Topic: Better array support?
Replies: 6
Views: 3146

Better array support?

Is this planned for the future? It would be nice if more of the functions that operated on lists would also operate on arrays, for example (sort). As a big fan of newLISP I would be glad to help implement this myself, it's just that school won't give me a minute's rest. :\