Skip to main content
GameDev.net gamedev.net
🔒 Locked

Scripting languages...

Started by Fma Aug 2, 2002 at 5:21 AM 4 replies 900+ views
Original Post
Fma
Fma
Hi Is there a scripting language that supports calling functions inside dlls?
LessBread
LessBread
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
andrew_j_w
andrew_j_w
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]
DaTroof
DaTroof
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
__tunjin__
__tunjin__
Of course you can do it with lua, you just need to register all the functions you need...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.