C interface to newLISP

For the Compleat Fan
Locked
itistoday
Posts: 429
Joined: Sun Dec 02, 2007 5:10 pm
Contact:

C interface to newLISP

Post by itistoday »

A while back I wrote a simple set of functions that this forum's preprocessing gracefully butchered to pieces (you can see it here).

It is very primitive, and very slow, as it simply works by parsing the result string returned by newLISP. Ex: You want to know what (+ 1 1) is? You'll pass that as a string to newLISP to interpret, and then you'll need to use atoi to convert the result to something useable.

I was wondering if there are any plans on making a real C interface to newLISP, along the lines of how closely tied Lua is to C.

The advantage is that you'd be able to use newLISP everywhere Lua is currently used, for example, as the scripting language for a game engine. Having a Lisp for a scripting language in a game would allow for some awesome results... :-)

I would do this myself but I can't right now, so I was just wondering if anyone else was thinking about it?
Get your Objective newLISP groove on.

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

I'd love to be able to do it - I could even attempt to finish what someone else started - but I couldn't start it :))

Locked