Advertisement

Scripting languages...

Started by August 02, 2002 05:21 AM
4 comments, last by Fma 22 years, 6 months ago
Hi Is there a scripting language that supports calling functions inside dlls?
IIRC, python and lua have C bindings. Maybe perl too.
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes." - the Laughing Man
Advertisement
I can't really comment on the other languages, but I have a fair amount of experience working with C++ and Python. They fit together perfectly, Python was designed as a glue language, so it's perfect for putting together different bits of code.

Take a look at SWIG (www.swig.org) - it makes generating an extension to python so easy it almost becomes no fun!

There is also a good tutorial as part of the standard Python help files.

HTH
Andrew

[edited by - andrew_j_w on August 3, 2002 10:20:13 AM]
Any scripting language that''s extensible can be coded to support DLLs. That includes Tcl/Tk, Python, PERL, java-script, and, of course, VBScript.
Post Extant Graphical MUD
what about Lua?

---
shurcool
wwdev
Of course you can do it with lua, you just need to register all the functions you need...

This topic is closed to new replies.

Advertisement