Embedding a scripting engine into a C++ Application

Need help with C, C++, perl, python, etc?

Embedding a scripting engine into a C++ Application

Postby rsilbert » 2006-05-10 22:48

Can anyone offer any information on how to automate a C++ application by embedding a scripting language such as Lua, Perl, Python, etc.?

Thank you.
rsilbert
 
Posts: 1
Joined: 2006-05-10 22:43

Postby ajdlinux » 2006-05-11 07:32

ajdlinux
 
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

Postby lacek » 2006-05-11 07:33

For perl, see this link: http://www.unix.org.ua/orelly/perl/prog3/ch21_04.htm

Also, install the perl-doc package, and do a 'man perlembed' to see more.
lacek
Moderator Team Member
 
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary

Postby Guest » 2006-05-11 15:39

Thanks a lot guys. This is extemely helpful information.

I also did a little digging around and found these helpful links...

http://www.swig.org/exec.html
(Embeds Perl, Python, Lua, Tcl, PHP, ...)

http://www.tecgraf.puc-rio.br/~celes/tolua/
(Embeds Lua)
Guest
 


Return to Programming

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable