Page 1 of 1
					
				PureBASIC and expert systems
				Posted: Tue Nov 20, 2007 10:14 pm
				by mubinaktan
				Is anybody here interested in artificial intelligence, especially expert systems?
I am planning to use an expert system shell, that is CLIPS ( 
http://www.ghg.net/clips/CLIPS.html  ), with PureBASIC.
CLIPS has a dll, too (
http://ourworld.compuserve.com/homepage ... ipstuf.htm).
There are also some interfaces for CLIPS such as PyCLIPS (Python interface) but since I am a PB fan from now on (  

  ) I *WANT* to use PB, not another language (Python, Lua et cetera).
Any comments? Suggestions?
 
			 
			
					
				
				Posted: Tue Nov 20, 2007 10:41 pm
				by Foz
				Sounds interesting. I wonder if it could be coupled with games?
			 
			
					
				
				Posted: Wed Nov 21, 2007 9:03 am
				by kinglestat
				there are some "Life" and "neuronet" examples in the codearchive under purearea.net if is any help
			 
			
					
				Never heard
				Posted: Wed Nov 21, 2007 9:18 am
				by mubinaktan
				Using PB and CLIPS in games? Hmm... Sounds exciting. But I don't know an example of it. My goal is to build an expert system which is consisted of CLIPS as the inference mechanism and PB for user interface. Of course PB itself can be used alone for such a system but a shell will make things easier (if I can cope with the CLIPS' dll...)
			 
			
					
				
				Posted: Wed Nov 21, 2007 3:14 pm
				by BasicGuy
				Using PB and CLIPS in games?
CLIPS really isn't suited for game usage, unless, you're programming something like text adventure. Perhaps where an NPC might infer or divulge information given a number of inputs...
I've used CLIPS in some custom data mining applications and it's very useful.
A PB wrapper to CLIPS would be certainly useful in creating more user friendly interfaces...  

 
			 
			
					
				
				Posted: Wed Nov 21, 2007 4:05 pm
				by Rook Zimbabwe
				I know that on Purearea.net there is a PB LUA library...  

 
			 
			
					
				Don't gimme fish, teach me fishing instead
				Posted: Thu Nov 22, 2007 8:24 am
				by mubinaktan
				As a novice, I need your advices. In order to use CLIPS (or CLIPS.dll) together with PureBASIC, I am currently trying to learn how to use a dll from PB (
http://www.xs4all.nl/~bluez/datatalk/pu ... i_and_dlls  ). I started with 
CallFunction and will advance to prototypes. As far as I understand, there are 
CallFunction and 
CallFunctionFast but "the right way" is the prototypes, is that true?
Or do you have another recommendations upon PB and CLIPS marriage? Perhaps should I not use the CLIPS' dll. Are there alternative methods (a wrapper?) for constructing a system whose inference mechanism is run by CLIPS and interface is by PB?