Sujet : Re: SUBLEQ and EForth
De : anthk (at) *nospam* openbsd.home (anthk)
Groupes : comp.lang.forthDate : 17. May 2025, 06:59:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <slrn102adau.qi8.anthk@openbsd.home.localhost>
References : 1 2
User-Agent : slrn/1.0.3 (OpenBSD)
On 2025-05-14, Hans Bezemer <
the.beez.speaks@gmail.com> wrote:
On 14-05-2025 11:31, anthk wrote:
Run it as ./subleq ./subleq.dec
>
I can't - it complains:
>
$ pp4th -x subleq.4th < subleq.dec
Error: Not a 16-bit SUBLEQ VM
>
Hint - no, it's not YOUR subleq interpreter ;-)
>
Hans Bezemer
>
>
The Eforth code from the repo requires a 16 bit wide subleq machine.
Both subleq and muxleq (the last one it's much faster) in C
from Richard James Howe (same author) work seamlessly.
https://github.com/howerj/subleq/No, is not my interpreter, I barely expanded the Perl one for Muxleq
and it was just slightly faster but Perl had atrocious performance.
Even gawk (mawk ran really well) ran it much faster.