Page 1 of 1
Does QL has Haskell interpreter?
Posted: Tue Aug 12, 2025 5:12 pm
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.
Re: Does QL has Haskell interpreter?
Posted: Wed Aug 13, 2025 12:59 am
by ql_freak
https://en.wikipedia.org/wiki/Haskell
Look at "First appeared"! So I think NO.
Re: Does QL has Haskell interpreter?
Posted: Wed Aug 13, 2025 9:57 am
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

Re: Does QL has Haskell interpreter?
Posted: Wed Aug 13, 2025 10:39 am
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.
Re: Does QL has Haskell interpreter?
Posted: Fri Aug 15, 2025 2:26 am
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.
Re: Does QL has Haskell interpreter?
Posted: Fri Aug 15, 2025 4:37 am
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!
Re: Does QL has Haskell interpreter?
Posted: Fri Aug 15, 2025 5:51 am
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.
Re: Does QL has Haskell interpreter?
Posted: Sun Aug 17, 2025 12:23 am
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.