Path: csiph.com!news.swapon.de!weretis.net!feeder8.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mostowski Collapse Newsgroups: comp.lang.javascript Subject: Re: ANN: Dogelog: We Have Liftoff, We Have Liftoff Date: Tue, 25 May 2021 09:34:12 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 25 May 2021 07:34:13 -0000 (UTC) Injection-Info: solani.org; logging-data="21523"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.7.1 In-Reply-To: Cancel-Lock: sha1:vcnjBsHDq9VKx4HI2kloSE/VhzQ= X-User-ID: eJwFwYkBwCAIA8CVsITHcVSS/UfoXXiufIWMRCiE2C3A5IPNcAsVRVsX/KamznJDDsfOaTgfU5QKfRs3flHZFgM= Xref: csiph.com comp.lang.javascript:40111 Hi, Nope, its not off topic. Its a Javascript library, that you can embed in your application. Documentation will be soon out. The Javascript library, for the demonstration uses clear() and consult() mainly, for example the "try it" button calls: function main() { document.getElementById("demo").innerHTML = ""; clear(); let text=document.getElementById("text").value; consult(text); } The approach of the cross compiler is documented here: https://gist.github.com/jburse/afeaeffc4ffb68d7bc785a86182cd09f#gistcomment-3753102 Source code and tickets about Dogelog will be collected here: https://github.com/jburse/jekejeke-samples/issues Bye Michael Haufe (TNO) schrieb: > On Monday, May 24, 2021 at 5:18:42 PM UTC-5, Mostowski Collapse wrote: >> Dear All, >> >> Needs a decent browser, JavaScript >2015 >> >> http://www.dogelog.ch/ >> >> Currently swallows errors silently. Everything written >> in Prolog itself, read/1, consult/1, etc.. and then cross >> compiled into JavaScript. Not sure whether it can already >> >> compile itself. But it has a text field and can add the >> clauses in the text field and execute the directives in the >> text field, and it has write/1 and nl/0 into the HTML document. >> >> More care for the good boy upcoming. >> >> Have Fun! > > > I'm a fan of Prolog but I think this is off-topic for the group. >