Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #124280 > unrolled thread

ANN: Dogelog Player 1.1.6 (HTTP Client)

Started byMild Shock <janburse@fastmail.fm>
First post2024-03-07 18:10 +0100
Last post2024-04-02 01:18 +0200
Articles 20 on this page of 27 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-07 18:10 +0100
    Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-10 19:09 +0100
      Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-10 23:49 +0100
        Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-11 00:49 +0000
          Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-11 09:06 +0100
            Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-11 09:07 +0100
              Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-11 20:46 +0000
                Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-12 00:19 +0100
                  Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-12 00:43 +0000
                    Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-13 02:05 +0100
                      Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-13 02:28 +0000
                        Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-13 12:54 +0100
                          Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-13 13:01 +0100
      Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-13 02:06 +0100
    Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-23 16:43 +0100
      Re: ANN: Dogelog Player 1.1.6 (HTTP Client) John Harris <niam@jghnorth.org.uk.invalid> - 2024-03-24 10:39 +0000
        Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-24 12:23 +0100
          Re: ANN: Dogelog Player 1.1.6 (HTTP Client) John Harris <niam@jghnorth.org.uk.invalid> - 2024-03-26 11:06 +0000
            Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-26 20:21 +0100
              Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-26 20:25 +0100
              Re: ANN: Dogelog Player 1.1.6 (HTTP Client) John Harris <niam@jghnorth.org.uk.invalid> - 2024-03-27 14:12 +0000
                Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-27 23:52 +0100
                  Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-27 23:56 +0100
                Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-28 00:07 +0100
                  Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-28 00:16 +0100
                    Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-03-28 00:21 +0100
      Re: ANN: Dogelog Player 1.1.6 (HTTP Client) Mild Shock <janburse@fastmail.fm> - 2024-04-02 01:18 +0200

Page 1 of 2  [1] 2  Next page →


#124280 — ANN: Dogelog Player 1.1.6 (HTTP Client)

FromMild Shock <janburse@fastmail.fm>
Date2024-03-07 18:10 +0100
SubjectANN: Dogelog Player 1.1.6 (HTTP Client)
Message-ID<uscsdk$12mjt$3@solani.org>
Dear All,

We are happy to announce a new edition
of the Dogelog player:

- Enhanced '$YIELD'/1:
   Previously the '$YIELD'/1 instruction was hard coded
to understand an integer for sleep/1 and an atom for
native library loading. The implementation has been
change to accept a Promise object, known from
JavaScript. Emulations were made available for
Java and Python.

- Async I/O:
   Based on the new '$YIELD'/1 and a buffer fast path
idea, the console reading, file property and file
reading have been asyncified. There is no change in
the Prolog API, files are still to be opened via the
ISO core open/3 and accessed via ISO core get_code/2
respectively ISO core peek_code/2. But input can now
be executed quasi-parallel by multiple tasks.

- HTTP client:
   The ISO core open/4 has been moved to the library(spin).
The support of the HTTP and HTTPS protocol in open/3
and open/4, has been extended from the JavaScript
browser to the JavaScript command line (by means of
new fetch in nodejs >21). Further supported targets
are now Python and Java (by means of new HTTP client
in JDK >21).

Have Fun!

Jan Burse, http://www.xlog.ch/ , 07.03.2024

[toc] | [next] | [standalone]


#124281

FromMild Shock <janburse@fastmail.fm>
Date2024-03-10 19:09 +0100
Message-ID<usksvq$16bd7$2@solani.org>
In reply to#124280
Dogelog Player is a Prolog system that is 100% written
in Prolog itself. It is avsailable for the JavaScript,
Python and Java platform. We show how the stable
ordering of Prolog variables in Dogelog Player allows
highly efficient constraint solving approaches.

We convert the undirected graph into a directed graph
and create adjacency lists. This inequality graph doesn’t
have the same delayed evaluation overhead than
(#=)/2 and dif/2. We demonstrate map coloring and
sudoku solving. Further improvements in a
subsequent article.

See also:

Map Coloring and Sudoku Solving
https://twitter.com/dogelogch/status/1766885890712883276

Map Coloring and Sudoku Solving
https://www.facebook.com/groups/dogelog


Mild Shock schrieb:
> Dear All,
> 
> We are happy to announce a new edition
> of the Dogelog player:
> 
> - Enhanced '$YIELD'/1:
>    Previously the '$YIELD'/1 instruction was hard coded
> to understand an integer for sleep/1 and an atom for
> native library loading. The implementation has been
> change to accept a Promise object, known from
> JavaScript. Emulations were made available for
> Java and Python.
> 
> - Async I/O:
>    Based on the new '$YIELD'/1 and a buffer fast path
> idea, the console reading, file property and file
> reading have been asyncified. There is no change in
> the Prolog API, files are still to be opened via the
> ISO core open/3 and accessed via ISO core get_code/2
> respectively ISO core peek_code/2. But input can now
> be executed quasi-parallel by multiple tasks.
> 
> - HTTP client:
>    The ISO core open/4 has been moved to the library(spin).
> The support of the HTTP and HTTPS protocol in open/3
> and open/4, has been extended from the JavaScript
> browser to the JavaScript command line (by means of
> new fetch in nodejs >21). Further supported targets
> are now Python and Java (by means of new HTTP client
> in JDK >21).
> 
> Have Fun!
> 
> Jan Burse, http://www.xlog.ch/ , 07.03.2024

[toc] | [prev] | [next] | [standalone]


#124282

FromMild Shock <janburse@fastmail.fm>
Date2024-03-10 23:49 +0100
Message-ID<uslde2$16jdm$3@solani.org>
In reply to#124281
Small implementation node about the new HTTP client
in Dogelog Player for JavaScript. I am using fetch()
everywhere. No need to get help from libraries such as:

 > Axios is a promise-based HTTP Client for node.js
 > and the browser. It is isomorphic (= it can run in
 > the browser and nodejs with the same codebase).
 > On the server-side it uses the native node.js http
 > module, while on the client (browser) it uses XMLHttpRequests.
https://axios-http.com/docs/intro

First of all XMLHttpRequests is deprecated in the
browser, use fetch() instead. And nodejs has fetch()
since release 21.x.x as well. So they have become
isomorphic making AXIOS obsolete:

 > Notable Changes - Oct 17, 2023
 > The recent update to Node.js, version 21, includes
 > an important change to the fetch module as well as
 > WebStreams . Both modules were marked as stable
 > after a recent update.
https://nodejs.org/en/blog/announcements/v21-release-announce


Mild Shock schrieb:
> 
> Dogelog Player is a Prolog system that is 100% written
> in Prolog itself. It is avsailable for the JavaScript,
> Python and Java platform. We show how the stable
> ordering of Prolog variables in Dogelog Player allows
> highly efficient constraint solving approaches.
> 
> We convert the undirected graph into a directed graph
> and create adjacency lists. This inequality graph doesn’t
> have the same delayed evaluation overhead than
> (#=)/2 and dif/2. We demonstrate map coloring and
> sudoku solving. Further improvements in a
> subsequent article.
> 
> See also:
> 
> Map Coloring and Sudoku Solving
> https://twitter.com/dogelogch/status/1766885890712883276
> 
> Map Coloring and Sudoku Solving
> https://www.facebook.com/groups/dogelog
> 
> 
> Mild Shock schrieb:
>> Dear All,
>>
>> We are happy to announce a new edition
>> of the Dogelog player:
>>
>> - Enhanced '$YIELD'/1:
>>    Previously the '$YIELD'/1 instruction was hard coded
>> to understand an integer for sleep/1 and an atom for
>> native library loading. The implementation has been
>> change to accept a Promise object, known from
>> JavaScript. Emulations were made available for
>> Java and Python.
>>
>> - Async I/O:
>>    Based on the new '$YIELD'/1 and a buffer fast path
>> idea, the console reading, file property and file
>> reading have been asyncified. There is no change in
>> the Prolog API, files are still to be opened via the
>> ISO core open/3 and accessed via ISO core get_code/2
>> respectively ISO core peek_code/2. But input can now
>> be executed quasi-parallel by multiple tasks.
>>
>> - HTTP client:
>>    The ISO core open/4 has been moved to the library(spin).
>> The support of the HTTP and HTTPS protocol in open/3
>> and open/4, has been extended from the JavaScript
>> browser to the JavaScript command line (by means of
>> new fetch in nodejs >21). Further supported targets
>> are now Python and Java (by means of new HTTP client
>> in JDK >21).
>>
>> Have Fun!
>>
>> Jan Burse, http://www.xlog.ch/ , 07.03.2024
> 

[toc] | [prev] | [next] | [standalone]


#124283

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2024-03-11 00:49 +0000
Message-ID<uslkef$389f8$2@dont-email.me>
In reply to#124282
On Sun, 10 Mar 2024 23:49:38 +0100, Mild Shock wrote:

> First of all XMLHttpRequests is deprecated in the browser, use fetch()
> instead.

I don’t know why you would say that. Fetch is only for downloads
<https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>, while
XMLHttpRequest works in both directions
<https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>.

[toc] | [prev] | [next] | [standalone]


#124284

FromMild Shock <janburse@fastmail.fm>
Date2024-03-11 09:06 +0100
Message-ID<usme1l$172l5$1@solani.org>
In reply to#124283
Do you mean POST requests?
You can do them also with fetch:

There is a POST example as the first fetch example:
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

So you can use fetch also for upload.
Not only for download.

Lawrence D'Oliveiro schrieb:
> On Sun, 10 Mar 2024 23:49:38 +0100, Mild Shock wrote:
> 
>> First of all XMLHttpRequests is deprecated in the browser, use fetch()
>> instead.
> 
> I don’t know why you would say that. Fetch is only for downloads
> <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>, while
> XMLHttpRequest works in both directions
> <https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>.
> 

[toc] | [prev] | [next] | [standalone]


#124285

FromMild Shock <janburse@fastmail.fm>
Date2024-03-11 09:07 +0100
Message-ID<usme4f$172l5$2@solani.org>
In reply to#124284
Its straight forward:

async function postData(url = "", data = {}) {
   const response = await fetch(url, {
     method: "POST",
     [...]
     body: /* put your upload content here */

Mild Shock schrieb:
> Do you mean POST requests?
> You can do them also with fetch:
> 
> There is a POST example as the first fetch example:
> https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
> 
> So you can use fetch also for upload.
> Not only for download.
> 
> Lawrence D'Oliveiro schrieb:
>> On Sun, 10 Mar 2024 23:49:38 +0100, Mild Shock wrote:
>>
>>> First of all XMLHttpRequests is deprecated in the browser, use fetch()
>>> instead.
>>
>> I don’t know why you would say that. Fetch is only for downloads
>> <https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API>, while
>> XMLHttpRequest works in both directions
>> <https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest>.
>>
> 

[toc] | [prev] | [next] | [standalone]


#124286

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2024-03-11 20:46 +0000
Message-ID<usnqie$3qjjk$4@dont-email.me>
In reply to#124285
On Mon, 11 Mar 2024 09:07:44 +0100, Mild Shock wrote:

> async function postData(url = "", data = {}) {
>    const response = await fetch(url, {
>      method: "POST",
>      [...]
>      body: /* put your upload content here */

How is that better than XMLHttpRequest?

[toc] | [prev] | [next] | [standalone]


#124287

FromMild Shock <janburse@fastmail.fm>
Date2024-03-12 00:19 +0100
Message-ID<uso3it$18dap$3@solani.org>
In reply to#124286
The same code runs on nodeJS.
No need to install some XHR library.

I wrote this already:

 > Notable Changes - Oct 17, 2023
 > The recent update to Node.js, version 21, includes
 > an important change to the fetch module as well as
 > WebStreams . Both modules were marked as stable
 > after a recent update.
https://nodejs.org/en/blog/announcements/v21-release-announce

You get the most bang out of fetch, when
you use it with webstreams. Here is a little example:

    await response.body
       .pipeThrough(new TextDecoderStream())
       .pipeTo(targetDiv.writable)

See also here:

Streaming element with backpressure demo
https://streams.spec.whatwg.org/demos/streaming-element-backpressure.html

Lawrence D'Oliveiro schrieb:
> On Mon, 11 Mar 2024 09:07:44 +0100, Mild Shock wrote:
> 
>> async function postData(url = "", data = {}) {
>>     const response = await fetch(url, {
>>       method: "POST",
>>       [...]
>>       body: /* put your upload content here */
> 
> How is that better than XMLHttpRequest?
> 

[toc] | [prev] | [next] | [standalone]


#124288

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2024-03-12 00:43 +0000
Message-ID<uso8fh$3tiv1$1@dont-email.me>
In reply to#124287
On Tue, 12 Mar 2024 00:19:57 +0100, Mild Shock wrote:

> The same code runs on nodeJS.
> No need to install some XHR library.

You don’t know how to use XMLHttpRequest directly?

[toc] | [prev] | [next] | [standalone]


#124289

FromMild Shock <janburse@fastmail.fm>
Date2024-03-13 02:05 +0100
Message-ID<usqu45$19i7n$3@solani.org>
In reply to#124288
Natively Node.js does not provide the browser XHR API.
There is, however, a node module xmlhttprequest that does.

Lawrence D'Oliveiro schrieb:
> On Tue, 12 Mar 2024 00:19:57 +0100, Mild Shock wrote:
> 
>> The same code runs on nodeJS.
>> No need to install some XHR library.
> 
> You don’t know how to use XMLHttpRequest directly?
> 

[toc] | [prev] | [next] | [standalone]


#124293

FromLawrence D'Oliveiro <ldo@nz.invalid>
Date2024-03-13 02:28 +0000
Message-ID<usr2vv$k4gu$6@dont-email.me>
In reply to#124289
On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:

> Natively Node.js does not provide the browser XHR API.

Browsers do, though.

[toc] | [prev] | [next] | [standalone]


#124294

FromMild Shock <janburse@fastmail.fm>
Date2024-03-13 12:54 +0100
Message-ID<uss45c$1a4ci$1@solani.org>
In reply to#124293
Please go see a psychatrist, the point of
departure of my post was this advertisement,
which adresses the problem how to have

a single application code base for both browser
and node.JS, which you can also archive by using
3rd party node XHR API module. Or the 3rd party

library AXIOS is yet another alternative:

 > Axios is a promise-based HTTP Client for node.js
 > and the browser. It is isomorphic (= it can run in
 > the browser and nodejs with the same codebase).
 > On the server-side it uses the native node.js http
 > module, while on the client (browser) it uses XMLHttpRequests.
https://axios-http.com/docs/intro

I then remarked that AXIOS isn't necessary anymore,
since fetch() is also isomorphic among Browser
and Node.js since release 21.x.x. With the benefit

that you wont have any 3rd party dependency anymore,
with fetch() everything will be native,
in the browser and in node.JS:

 > Notable Changes - Oct 17, 2023
 > The recent update to Node.js, version 21, includes
 > an important change to the fetch module as well as
 > WebStreams . Both modules were marked as stable
 > after a recent update.
https://nodejs.org/en/blog/announcements/v21-release-announce

What don't you understand here? How stupid on
a scale of 1-1000 are you? Level 9000 stupid?

Lawrence D'Oliveiro schrieb:
> On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:
> 
>> Natively Node.js does not provide the browser XHR API.
> 
> Browsers do, though.
> 

[toc] | [prev] | [next] | [standalone]


#124296

FromMild Shock <janburse@fastmail.fm>
Date2024-03-13 13:01 +0100
Message-ID<uss4i1$1a4lg$1@solani.org>
In reply to#124294
Maybe its a language problem, what is your native
language Lawrence D'Oliveiro <ldo@nz.invalid>.
Do you understand what AXIOS advertizes, and

what they mean when they write "same codebase"?
Any idea what "same [application] codebase
[across browser and node.JS"] could mean?

Or are you simply too lazy to read what people cite?

Mild Shock schrieb:
> Please go see a psychatrist, the point of
> departure of my post was this advertisement,
> which adresses the problem how to have
> 
> a single application code base for both browser
> and node.JS, which you can also archive by using
> 3rd party node XHR API module. Or the 3rd party
> 
> library AXIOS is yet another alternative:
> 
>  > Axios is a promise-based HTTP Client for node.js
>  > and the browser. It is isomorphic (= it can run in
>  > the browser and nodejs with the same codebase).
>  > On the server-side it uses the native node.js http
>  > module, while on the client (browser) it uses XMLHttpRequests.
> https://axios-http.com/docs/intro
> 
> I then remarked that AXIOS isn't necessary anymore,
> since fetch() is also isomorphic among Browser
> and Node.js since release 21.x.x. With the benefit
> 
> that you wont have any 3rd party dependency anymore,
> with fetch() everything will be native,
> in the browser and in node.JS:
> 
>  > Notable Changes - Oct 17, 2023
>  > The recent update to Node.js, version 21, includes
>  > an important change to the fetch module as well as
>  > WebStreams . Both modules were marked as stable
>  > after a recent update.
> https://nodejs.org/en/blog/announcements/v21-release-announce
> 
> What don't you understand here? How stupid on
> a scale of 1-1000 are you? Level 9000 stupid?
> 
> Lawrence D'Oliveiro schrieb:
>> On Wed, 13 Mar 2024 02:05:10 +0100, Mild Shock wrote:
>>
>>> Natively Node.js does not provide the browser XHR API.
>>
>> Browsers do, though.
>>
> 

[toc] | [prev] | [next] | [standalone]


#124290

FromMild Shock <janburse@fastmail.fm>
Date2024-03-13 02:06 +0100
Message-ID<usqu6l$19i7n$4@solani.org>
In reply to#124281
In 1997, Hong Kong judge Wayne Gould saw a partly
completed puzzle in a Japanese bookshop. Over six years,
he developed a computer program to produce unique
puzzles rapidly. The program tries to keep one puzzle
ahead of you, by generating the next puzzle while you
are solving the present one.

In the following we show a Prolog program, where
the random generation of a Puzzle is performed in
less than 2 seconds. The Prolog program was mainly
developed for Dogelog Player. We could test the
Prolog program also with Prolog systems such as
SWI-Prolog, Scryer Prolog and Trealla Prolog.

The smallest domain first variable ordering heuristic
allowed us to solve some hard problems below a minute.
Turning the heuristic into a static ordering before
search gave us a further boost and the baseline for
randomization. Measurement showed that solving blank
Sudokus doesn't have a large time variation.

See also:

Birthday Paradox and Sudoku Generation
https://twitter.com/dogelogch/status/1767714755827908991

Birthday Paradox and Sudoku Generation
https://www.facebook.com/groups/dogelog

[toc] | [prev] | [next] | [standalone]


#124321

FromMild Shock <janburse@fastmail.fm>
Date2024-03-23 16:43 +0100
Message-ID<utmtac$1nl0n$3@solani.org>
In reply to#124280
Dogelog Player is a Prolog system that features
a generational garbage collector scheme and a
change_arg/3 primitive built-in. So far the two
didn’t go together and we had to use a cludge.
With the upcoming release we provide a proper
solution based on marking write-barriers.

Our remembered set on the variable binding trail
has the benefit that it can reduce itself during
backtracking. By adopting conductor variables, i.e.
instantiated variables that are not trailed, from
formerly Jekejeke Prolog, we could recreate a
similar benefit for Dogelog Players change_arg/3.

See also:

Marking Write-Barriers for Dogelog Player
https://twitter.com/dogelogch/status/1771559896741192186

Marking Write-Barriers for Dogelog Player
https://www.facebook.com/groups/dogelog

[toc] | [prev] | [next] | [standalone]


#124322

FromJohn Harris <niam@jghnorth.org.uk.invalid>
Date2024-03-24 10:39 +0000
Message-ID<utovtm$9qak$1@dont-email.me>
In reply to#124321
On 23/03/2024 15:43, Mild Shock wrote:
> 
> Dogelog Player is a Prolog system that features

   <snip>

Tell us, in outline, about some of the data structures in the JavaScript 
version of the system and how they are implemented.

   John

[toc] | [prev] | [next] | [standalone]


#124323

FromMild Shock <janburse@fastmail.fm>
Date2024-03-24 12:23 +0100
Message-ID<utp2ei$1ona2$1@solani.org>
In reply to#124322
Some of the datastructures are documented here:
https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf

But you can also inspect the source code:
git clone https://www.dogelog.ch/dogelog/.git

John Harris schrieb:
 > Tell us, in outline, about some of the data structures
 > in the JavaScript version of the system and
 > how they are implemented.

[toc] | [prev] | [next] | [standalone]


#124327

FromJohn Harris <niam@jghnorth.org.uk.invalid>
Date2024-03-26 11:06 +0000
Message-ID<utua87$1p5dq$1@dont-email.me>
In reply to#124323
On 24/03/2024 11:23, Mild Shock wrote:
> 
> Some of the datastructures are documented here:
> https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf

   <snip>

No they're not. Only functions are described.

   John

[toc] | [prev] | [next] | [standalone]


#124328

FromMild Shock <janburse@fastmail.fm>
Date2024-03-26 20:21 +0100
Message-ID<utv78j$1s0nm$1@solani.org>
In reply to#124327
Fucking liar, look again. Like hier:


4.1 Folder "util"
Section "meta"
4.2 Folder "albufeira"
Section "instruction"
Section "stages"
4.3 Folder "player"
Section "platform"
4.4 Folder "playerpy"
Section "platform"
4.5 Folder "playerj"
Section "platform"
Section “handlers”

A Prolog interpreter doesn't need much datastructures.

John Harris schrieb:
> On 24/03/2024 11:23, Mild Shock wrote:
>>
>> Some of the datastructures are documented here:
>> https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf
> 
>    <snip>
> 
> No they're not. Only functions are described.
> 
>    John
> 
> 

[toc] | [prev] | [next] | [standalone]


#124329

FromMild Shock <janburse@fastmail.fm>
Date2024-03-26 20:25 +0100
Message-ID<utv7fv$1s0ps$1@solani.org>
In reply to#124328
Also Datastructures are burried inside the functions, like here:

Term API

deref(T): (host language)
    Return the dereferencing of the term T.
copy_term(T): (host language)
    Return a copy of the term T.
new Variable(): (host language)
    Create a Prolog variable.
new Compound(F, A): (host language)
    Create a Prolog compound with functor F and arguments A.

What do you want? An UML diagram? Forget it.

Mild Shock schrieb:
> Fucking liar, look again. Like hier:
> 
> 
> 4.1 Folder "util"
> Section "meta"
> 4.2 Folder "albufeira"
> Section "instruction"
> Section "stages"
> 4.3 Folder "player"
> Section "platform"
> 4.4 Folder "playerpy"
> Section "platform"
> 4.5 Folder "playerj"
> Section "platform"
> Section “handlers”
> 
> A Prolog interpreter doesn't need much datastructures.
> 
> John Harris schrieb:
>> On 24/03/2024 11:23, Mild Shock wrote:
>>>
>>> Some of the datastructures are documented here:
>>> https://www.novacuor.ch/doctab/rscsrv/docs/17_host/package.pdf
>>
>>    <snip>
>>
>> No they're not. Only functions are described.
>>
>>    John
>>
>>
> 

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.javascript


csiph-web