Scripting System

This is a discussion on Scripting System within the C++ Programming forums, part of the General Programming Boards category; Hi, I'm trying to create an IRC Bot in C++, and it's going well. But an IRC Bot has to ...

  1. #1
    C++ Programmer
    Join Date
    Aug 2005
    Posts
    39

    Scripting System

    Hi,

    I'm trying to create an IRC Bot in C++, and it's going well. But an IRC Bot has to be extendable, an Irc Bot is no Irc bot if it can't be extended.

    So, I would like to embed a scripting language in my app. I thought of Ruby or python, which seems to be pretty popular. Other candidates are Javascript (spidermonkey) and PHP. I prefer these 2 languages because I know how to program JS and PHP (and not Ruby/python), but I've found a tutorial on spidermonkey, and it's a lot of work to export classes to Javascript, and I could find nothing about embedding PHP on my app.

    So I would like to ask if you know some scripting languages, which are easy to implent, and eventually some tutorials?
    Last edited by MrLucky; 04-14-2007 at 08:37 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,830
    Maybe this will ease the interface woes - http://www.swig.org/
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using system icons
    By @nthony in forum Windows Programming
    Replies: 1
    Last Post: 01-13-2007, 07:56 PM
  2. Reviving my old scripting language.
    By suzakugaiden in forum Game Programming
    Replies: 4
    Last Post: 06-15-2006, 04:02 PM
  3. Linux database system needed
    By BobS0327 in forum Tech Board
    Replies: 7
    Last Post: 06-11-2006, 04:56 PM
  4. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 07:12 AM
  5. Problem Reporting System. Need Advide!
    By brunomiranda in forum Tech Board
    Replies: 9
    Last Post: 09-25-2003, 10:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21