egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Possible to use Python instead of TCL?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
lavacano201014
Voice


Joined: 04 Aug 2009
Posts: 1
Location: Oz

PostPosted: Tue Aug 04, 2009 5:12 pm    Post subject: Possible to use Python instead of TCL? Reply with quote

I searched, nothing came up.

All I ask is this: Is there a possibility to use Python to script for Eggdrop instead of TCL? I'm probably OK with adding third-party modules.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
arfer
Master


Joined: 26 Nov 2004
Posts: 436
Location: Manchester, UK

PostPosted: Wed Aug 05, 2009 8:13 am    Post subject: Reply with quote

I would also be interested in any complete reply to this question. At one time I recall there being some intent to include perl and python in future releases of eggdrop.

My thoughts are that the problem is not so much the embedding of the core scripting languages themselves but the inclusion of equivalents for the great many Eggdrop Tcl binds and commands that have been added, without which even Tcl would be pretty useless.

There are Tcl scripts that execute other language files, for example the timed execution of the perl script pisg in order to generate channel statistics. Likewise, I don't doubt python scripts can be executed in the same way. However, I doubt that this is an answer to your question.
_________________
I must have had nothing to do
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Aug 05, 2009 5:26 pm    Post subject: Reply with quote

With the current 1.6-tree, No. Tcl is way too integrated into eggdrop's engine to easily be replaced/extended with other languages. You could of course use tcl's ability to interact with external applications to make use of an external parser. This would though be run in a separate environment, and the only thing these two applications would share are pipes.

There is/was some ideas about pluggable script engines in 1.7/1.9, as well as removing the dependency on tcl, although I currently have no idea regarding it's progress, or the overall progress of 1.7/1.9...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber