Does QL has Haskell interpreter?

Anything QL Software or Programming Related.
Post Reply
User avatar
Popopo
Super Gold Card
Posts: 543
Joined: Wed Apr 07, 2021 10:37 am

Does QL has Haskell interpreter?

Post by Popopo »

Hi all!

I programed a very little game in Haskell for demo purposes,
Long time ago I read that Sinclair QL also has/had a Haskell interpreter, and I would like to try my code working on my BBQL.

I don't remember the source, perhaps Wikipedia.

Does it exist? I mean the Haskell interpreter for Sinclair QL.
Thanks.


User avatar
ql_freak
Super Gold Card
Posts: 581
Joined: Sun Jan 18, 2015 1:29 am

Re: Does QL has Haskell interpreter?

Post by ql_freak »

https://en.wikipedia.org/wiki/Haskell

Look at "First appeared"! So I think NO.


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
Popopo
Super Gold Card
Posts: 543
Joined: Wed Apr 07, 2021 10:37 am

Re: Does QL has Haskell interpreter?

Post by Popopo »

Thanks :)
I was looking that site at first, but there were not the supported platform list.

I guess was mixing it up with Prolog, so completely wrong.

Considering there are compilers and interpreters for Prolog and Lisp... it sounds weird not for Haskell in Sinclair QL.
Well :) thank you for the fast answer :)


User avatar
tofro
Font of All Knowledge
Posts: 3188
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Does QL has Haskell interpreter?

Post by tofro »

Popopo wrote: Wed Aug 13, 2025 9:57 am Thanks :)
I was looking that site at first, but there were not the supported platform list.

I guess was mixing it up with Prolog, so completely wrong.

Considering there are compilers and interpreters for Prolog and Lisp... it sounds weird not for Haskell in Sinclair QL.
Well :) thank you for the fast answer :)
Well, compilers and interpreters used to be an exclusively commercial thing. Haskell came up long after the QL's short "commercial" shelf life.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
ql_freak
Super Gold Card
Posts: 581
Joined: Sun Jan 18, 2015 1:29 am

Re: Does QL has Haskell interpreter?

Post by ql_freak »

Compilers were commercial at the beginning of the PC area (e.g. TurboPascal).

They are no more. Best example the QL with C68. It pushed the QL up. Years after it was abandoned(!). Unfortunately there are (now) a lot of languages without a QL imlementation (Python, Java, C-Sharp AND C++).

And therefore: Fred Toussi must have had written a C++ compiler, which produces QL code (AFAICR it is a cross compiler, e.g. does NOT run on the QL itself). He implemented text87 with it (at least he has had written that to me). Would be nice, if we could have this compiler (1).

A lot of programs are now written in C++ (and no more in C), e.g. SQLite for which we have no chance to port them because of the missing C++ compiler.


1) Of course he most probably did NOT write a compiler, but adjusted the libs, so that this compiler (GNU?) could produce QL code.


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
RalfR
QL Wafer Drive
Posts: 1248
Joined: Fri Jun 15, 2018 8:58 pm

Re: Does QL has Haskell interpreter?

Post by RalfR »

ql_freak wrote: Fri Aug 15, 2025 2:26 amAnd therefore: Fred Toussi must have had written a C++ compiler, which produces QL code (AFAICR it is a cross compiler, e.g. does NOT run on the QL itself). He implemented text87 with it (at least he has had written that to me). Would be nice, if we could have this compiler (1).
For the Atari!


7000 4E75
User avatar
NormanDunbar
Forum Moderator
Posts: 2496
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: Does QL has Haskell interpreter?

Post by NormanDunbar »

ql_freak wrote: Fri Aug 15, 2025 2:26 am A lot of programs are now written in C++ (and no more in C), e.g. SQLite for which we have no chance to port them because of the missing C++ compiler.

Sqlite source code is not C++ it is plain C. However, what we are missing is a TCL interpreter, not a C++ compiler. See https://github.com/sqlite/sqlite.

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
ql_freak
Super Gold Card
Posts: 581
Joined: Sun Jan 18, 2015 1:29 am

Re: Does QL has Haskell interpreter?

Post by ql_freak »

NormanDunbar wrote: Fri Aug 15, 2025 5:51 am
A lot of programs are now written in C++ (and no more in C), e.g. SQLite for which we have no chance to port them because of the missing C++ compiler.
Sqlite source code is not C++ it is plain C. However, what we are missing is a TCL interpreter, not a C++ compiler. See https://github.com/sqlite/sqlite.
Sorry, than I'm wrong. But this (TCL, espially TK) seems to be a bigger problem.


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Post Reply