Search found 3 matches

by Alisaxy
Sun Aug 02, 2015 12:17 pm
Forum: newLISP in the real world
Topic: Rotating generator (a generator factory pattern)
Replies: 2
Views: 4040

Re: Rotating tasklet (a tasklet factory pattern)

Nice idea. I assume the 'rot in setting rotX should be 'rotX rather. Oops, a typo! Yeah, should be "rotX" or any location to the generator in question. Could be a path to a list element like this "(list-name 0)". Yes, "generator" would be more appropriate, since tasklets are basically software thre...
by Alisaxy
Sat Aug 01, 2015 4:09 pm
Forum: newLISP in the real world
Topic: Rotating generator (a generator factory pattern)
Replies: 2
Views: 4040

Rotating generator (a generator factory pattern)

I was trying to wrap my head around all of the power newLISP offers, figuring that the lack of coroutines or tasklets which I very much need, wouldn't be much of a problem to fix. It appears I was right and here's a slightly more advanced rotating generator factory pattern. One could easily adopt it...
by Alisaxy
Tue Jul 28, 2015 7:23 pm
Forum: newLISP in the real world
Topic: newlisp datatypes translated to C?
Replies: 1
Views: 4823

newlisp datatypes translated to C?

Hello, I'm trying to embed newlisp into the Unreal engine through a dynamic library. I register functions like this in my C++ code: newlispCallback("<functionNameInNewLisp>", (long)<functionName>, NULL); I'm having no troubles with calling my C functions from newlisp with primitives and null-termina...