Re: Any suggestion to build GUI with prolog



Hernan Rancati a écrit :
Hi people,

I have started to research a bit on prolog (trying with SWI) and
now I am wondering how could I build a (simple) GUI with that.
Have taken a look at XPCE but the docs seems too scarse to me at this
stage. I heard about an integration module with java, so, will give swing a chance:) unless something more natural (logic) comes from this grounds.


Same problem as far as I'm concerned.
I started years ago a large project under windows. The Gui is under VB, quite a lot of functions under Python and the main part (and by far the most difficult) under Visual Prolog. VB calls python functions through COM and the Prolog engine through a dll (Visual Prolog is extraordinary fast there).

Linux is now mature for large GUI softwares so I want to port the software under Linux ; I shall probably keep Python but since VB and Visual Prolog do not run under Linux I shall move to another Prolog.

I think VB shall be replaced by FreePascal under Lazarus. I'm not quite convinced that Prolog is good at designing a GUI or rather I'm sure I'm not good at designing a GUI with Prolog.

I have tested different Prologs these last months but I haven't made my choice yet. Surprisingly :-) , I might choose Swi although it is not a fast Prolog and the making of dlls doesn't match Visual Prolog by far. But there are rumours about a future faster swi prolog and it is free as is the education project I'm working on.

To conclude, I think I may design the whole GUI under Lazarus and call the different inference engines written under Prolog through pipes or sockets (or even dlls if calling them from Freepascal is not "overkilling").

Best regards

J.Gressier
.



Relevant Pages

  • Re: Business Rules in Prolog
    ... access our relation database via ODBC interface. ... Prolog seems a good candidate to implement this system but we are ... documented GUI library. ... XPCE, given his 'declarative interface' paradigm, could be much more ...
    (comp.lang.prolog)
  • Re: Newbie problem
    ... Later I decided to develop an GUI ... I mean, if I use it on the prolog console it works, ... how command (and obviosuly it doesn't give the variable Objective the ...
    (comp.lang.prolog)
  • Re: Business Rules in Prolog
    ... access our relation database via ODBC interface. ... Prolog seems a good candidate to implement this system but we are ... documented GUI library. ... Moreover a continous communication between Prolog and the gantt chart ...
    (comp.lang.prolog)
  • Any suggestion to build GUI with prolog
    ... I have started to research a bit on prolog (trying with SWI) and ... now I am wondering how could I build a GUI with that. ... I heard about an integration module with java, so, will give swing a chance:) unless something more natural comes from this grounds. ...
    (comp.lang.prolog)
  • Re: Business Rules in Prolog
    ... manufacturing job shop, based on standard dispatching rules (SPT, EDD, ... Prolog seems a good candidate to implement this system but we are ... documented GUI library. ... I suggest you consider using Visual Prolog. ...
    (comp.lang.prolog)