José Antonio Riaza Valverde

Results 55 comments of José Antonio Riaza Valverde

> Could you explain why `answers` has a setTimeout? Since Tau is already asynchronous (I think, according to [these docs](http://tau-prolog.org/manual/a-simple-tutorial)), what is its purpose? The problem appears when `Thread.prototype.again` runs...

I could extend `{Type}.prototype.toJavaScript` to allow both formats.

> Allowing both might be good, but we should probably discuss a default. I would think having data as the default makes sense. If one wanted a string representation, couldn't...

No. Compatibility with old versions of Tau Prolog.

Tau Prolog is a Prolog interpreter, so yes, you should learn the language first. There aren't many examples, but the DOM module has a very similar interface to JavaScript (see...

Hi @triska. You are right, the README is somewhat outdated. This section of the manual should help you: http://tau-prolog.org/manual/a-simple-tutorial

The file `tau-prolog.js` is generated when you download a custom version from [Downloads](http://tau-prolog.org/downloads) section (it generates a file with the core and the modules you want). You are working with...

> > > When I run `npm install tau-prolog` in the repository directory, I get: > > $ npm install tau-prolog > npm ERR! code ENOSELF > npm ERR! Refusing...

The file `tau-prolog.js` is just a union of the Tau Prolog modules, to be able to load it more comfortably on a web page. With Node.js and npm it is...

I have never worked with CHR, so right now I don't really know what it will take to integrate it into Tau Prolog. However, we can look at it after...