PenUltima Online

It is currently Sat Aug 30, 2008 6:06 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: A proposed new feature for POL core
PostPosted: Thu Mar 29, 2007 6:46 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1120
Location: Southern Central USA
This probably should be in the Features forum and will probably have to wait for POL 0.99 but here it is anyway.

How many times have you written the ultimate script and found that it just didn't perform as you had intended or didn't compile at all?

I propose a new internal function call, DWIM.
This is an acronym for DoWhatIMean. It would use advanced AI and heuristic algorithms to determine what the scripter is attempting to do. Using scripts written by the scripter and the vast amount of public domain scripts that would be stored in the core internal database the DWIM instruction would, using state of the art interpolation and exstrapolation algorithms and extensive logic trees, analyse and perform the task that the scripter intended rather than what his/her script was written to do. At first it might not be able to adequately interpret the scripters desires but it would learn over time as more scripts were written. Perhaps a training mode could be implemented much like voice recognition software is trained to turn the spoken word into text.

I feel implementing this feature would end a lot of the problems we now see in buggy horribly written scripts and would streamline coding in general. Most would admit there is a need for such a function and I for one would put it to good use.

This could be made more useful as a compiler directive or even an eCompile option. An entry in the eCompile.cfg file such as the following could be offered.
Code:
DoWhastIMean           1 // 0 allows your scripts to be compiled as written, 1 invokes the DWIM override. Default is 1.


If it is added to eCompile then ofcourse the heuristics would be incorporated in the eCompile exe. Now that I think about it that's probably better because it keeps the core executable small and compact.

Anyway, that's my proposal.

I welcome your comments.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 7:07 pm 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
Good idea. :) Doesn't the Microsoft Office paperclip have this feature too?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 8:11 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 834
Location: Indiana, USA
Actually, that's in RC3, SURPRISE!

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 10:48 pm 
Offline

Joined: Sun Feb 05, 2006 4:35 pm
Posts: 160
Location: Poland
MuadDib wrote:
Actually, that's in RC3, SURPRISE!


it is April Fool's Day today? o_O :)

_________________
Shutdown();


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 12:10 am 
Offline

Joined: Sat Feb 04, 2006 6:26 pm
Posts: 539
So Rc3 is coming out on April Fool's Day?
Deal.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl