Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Debian is like Suse with yast turned off, just better. :) -- Goswin Brederlow


devel / comp.lang.postscript / Re: PostScript - Foreign Function Interface

SubjectAuthor
* PostScript - Foreign Function Interfacenews
`- Re: PostScript - Foreign Function InterfaceJohn Reiser

1
PostScript - Foreign Function Interface

<1629489787.bystand@zzo38computer.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9929&group=comp.lang.postscript#9929

  copy link   Newsgroups: comp.lang.postscript
Path: i2pn2.org!i2pn.org!aioe.org!P703Hxu1m1uplaQVJzdzug.user.46.165.242.75.POSTED!not-for-mail
From: new...@zzo38computer.org.invalid
Newsgroups: comp.lang.postscript
Subject: PostScript - Foreign Function Interface
Date: Fri, 20 Aug 2021 13:23:13 -0700
Organization: Aioe.org NNTP Server
Message-ID: <1629489787.bystand@zzo38computer.org>
Mime-Version: 1.0
Injection-Info: gioia.aioe.org; logging-data="48817"; posting-host="P703Hxu1m1uplaQVJzdzug.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: bystand/1.3.0pre
X-Notice: Filtered by postfilter v. 0.9.2
 by: new...@zzo38computer.org.invalid - Fri, 20 Aug 2021 20:23 UTC

One thing lacking in PostScript is good foreign function interface. There
is %pipe% (specific to Ghostscript, but I had made a list of my own ideas
of a new version of PostScript, and this is one of them), but the pipe is
only one direction of data at a time; it is not two way pipe.

There is printobject/writeobject (reading this format can be implemented
in a not too long C code, which I had posted to this newsgroup before),
although it has some limitations.

--
Don't laugh at the moon when it is day time in France.

Re: PostScript - Foreign Function Interface

<Bb-dnaHF5PpEgL38nZ2dnUU7_8zNnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9930&group=comp.lang.postscript#9930

  copy link   Newsgroups: comp.lang.postscript
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 20 Aug 2021 16:25:45 -0500
Subject: Re: PostScript - Foreign Function Interface
Newsgroups: comp.lang.postscript
References: <1629489787.bystand@zzo38computer.org>
From: ven...@BitWagon.com (John Reiser)
Date: Fri, 20 Aug 2021 14:25:44 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <1629489787.bystand@zzo38computer.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <Bb-dnaHF5PpEgL38nZ2dnUU7_8zNnZ2d@giganews.com>
Lines: 10
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-DQGS7GGgeEKVCr7AEQuaF7Gmf6m3LM69ziI4OI7rh1GEoh/wIItO3am6Myj7dIY+j6vE3WE+yAsVv0s!w1V25v4l2VEcWa1LBtVxN7MYBbE22WvPyQ8aeq78cMi3YYFmSDeQuagAeU0U7IxcVJUJhIYC50Gm
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1778
 by: John Reiser - Fri, 20 Aug 2021 21:25 UTC

> One thing lacking in PostScript is good foreign function interface. There
> is %pipe% (specific to Ghostscript, but I had made a list of my own ideas
> of a new version of PostScript, and this is one of them), but the pipe is
> only one direction of data at a time; it is not two way pipe.

Much of the functionality of a two-way pipe can be implemented
on any OS that provides named pipes. Use an anonymous %pipe%
for the output from PostScript into the input of the external pipeline,
and write the output of the pipeline into a named pipe that is
consumed by open+read.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor