I-X-Prolog iwuhlelo lwe-Prolog olungasindi oluhloselwe ukwenza lula ukuhlela ku-Prolog ku-Android. Uhlelo lokusebenza lusebenzisa izinhlelo ze-Prolog ekubukeni kombhalo, ukubuka kwewebhu noma njengesevisi eboshiwe kuhlelo lokusebenza lweklayenti. Isampula yeklayenti iyatholakala kokuthi https://github.com/xprolog/sample-client.
Qaphela ukuthi i-Google Play ikhawulela ukusetshenziswa kwemvume yokufinyelela wonke amafayela kuzinhlelo zokusebenza eziqondise i-Android 11 noma eyakamuva. Ukuze ufake i-X-Prolog ngemvume ye-All-file-access, bheka ku-https://github.com/xprolog/xp/releases.
unalo ithuluzi? Uhlelo lokusebenza luncike kumathuluzi achazwe umsebenzisi okuhlela nokwakha amaphrojekthi. Amathuluzi abhalwe ku-Prolog futhi ayabonakala kumadivayisi anezinketho zonjiniyela. Uhlelo lokusebenza namathuluzi ashintshisana ngedatha ngokudluliswa okuguquguqukayo nokukhiphayo okufomethiwe. Lokhu kukhishwa kuhlanganisa amathuluzi amancane ahloselwe ukubonisa isici samathuluzi wohlelo lokusebenza.
Uhlelo lokusebenza luchaza amaphoyinti okunweba lapho okuguquguqukayo kokudlulisela kutholakala khona (kuya kumathuluzi) nokuphumayo okufomethiwe (kusuka kumathuluzi) kubonwa. Ithuluzi lingase lilungiswe ukuze linikele endaweni eyodwa noma amaningi esandiso ngokucacisa itemu lomongo.
Itemu lomongo liyitemu lokufunda lefomu elithi context(Igama, Izinhlobo Zefayela, Okubalulekile) , lapho Igama kuyigama lephoyinti lesandiso, Izinhlobo zefayela iwuhlu lwezinhlobo zamafayela amukelekayo futhi Okubalulekile iyinani eliphelele elingekho ngaphansi kukaziro, incazelo yalo eyahluka kuye ngephoyinti lesandiso.
Lokhu kukhishwa kuchaza amaphuzu amathathu okunweba: yakha, hlela futhi uvumelanise, okuvumela amathuluzi ukuthi anikele, ngokulandelana, kumaphrojekthi wokwakha, ukuhlela amafayela omthombo nokuvumelanisa amamodeli omthombo.
Ukuze wakhe iphrojekthi, vula ifayela kumkhombandlela ophezulu wephrojekthi bese uchofoza okuthi Yakha. Ukuze ukhiphe iphrojekthi efayeleni lezinto ezisebenzisekayo ohlelweni lwefayela lendawo, chofoza okuthi Khipha. Ukuze uqalise ifayela lezinto, chofoza okuthi Run.
Ifayela libhekwa njengefayela elingumthombo uma kukhona ithuluzi elilodwa noma amaningi akha ifayela, okungenzeka aliguqule libe elinye ifayela elingumthombo. Lokhu kukhishwa kuhlanganisa ithuluzi lokwakha elilodwa, Qoqa, elihumusha ifayela lomthombo we-Prolog (.pl) libe ifayela elilayisha ngokushesha (.ql).
Izinkinga ezaziwayo zihlanganisa ukuhlola okwenzekayo, ukubuka kokubuyekeza okunengqondo, okuguquguqukayo okubalulwe phakathi kokunye.
Kubuyekezwe ngo-
Nov 20, 2022