Re: SWI-Prolog MacOS app
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
On 08/21/2013 10:19 AM, � wrote: > On Tue, Aug 20, 2013 at 9:40 AM, Jan Wielemaker <[email protected]> wrote: > >> Carlo is adding the option to insert HTML into the output. This >> allows you to define portray rules to render Prolog terms as arbitrary >> HTML. Qt also supports SVG, so that should be a breeze. This will >> also provide a complete new way to define user interfaces for your >> program. > > Nice! Does Qt also support JavaScript? If so, I suppose that one could > also send JSON to Qt and let JavaScript handle the rendering? This > fits very well with my plans for Pengine. I can see myself developing > a web app in SWI-Qt, and then with a click of a button "publish" it as > a Pengine app. That would be very cool. Yes. Something along these lines could be really nice. Qt certainly does the whole web stuff, but at some point we'll need to include WebKit, which adds another 25 or so Mb to the installed system. At the moment, Qt in the MacOS app already adds 20Mb to the 30Mb required for Prolog :-( Carlo probably knowns how much we can do without WebKit (and you can probably google for it). Cheers --- Jan _______________________________________________ SWI-Prolog mailing list [email protected] https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog