C interface to newLISP

Started by itistoday, July 20, 2009, 01:16:13 PM

Previous topic - Next topic

itistoday

A while back I wrote a simple set of functions that this forum's preprocessing gracefully butchered to pieces (you can http://www.alh.net/newlisp/phpbb/viewtopic.php?p=11952#11952">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

#1
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 :))