Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: David Hume Newsgroups: alt.folklore.computers Subject: Re: the FORTH computer language Date: Thu, 22 Oct 2015 11:35:56 +0100 Organization: Haphazard Lines: 46 Message-ID: <84d1w78a2b.fsf@example.com> References: <8586b234-ff9e-4fa6-8070-6dfe3df64124@googlegroups.com> <84twpj8fi8.fsf@example.com> NNTP-Posting-Host: 3NtQH5oMwdXa1l1iAsMESg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-No-Archive: Yes X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:hVf51bxa2UISTAqHCEt9xUp771A= Xref: csiph.com alt.folklore.computers:153206 "gareth" writes: >> This seems a little unfair, because Forth wasn't just a language, it was >> an operating system. > > FORTH under Windows is not an operating system But Forth was not under Windows. And Forth on my old 8-bit computer is an operating system. > >> And the words used are not instructions, although >> they may have mapped closely to instructions in most cases. > > A word to swap two items on the top of the stack is very much a very > low-level > assembly type instruction. But it is not implemented in that way, it is implemented as an interpreted call to a subroutine and then an interpreted call to get the next word. And although the example you have given is low level, it could equally well be higher level. For example . prints out a number to the screen in whatever the current number base is. I am guessing there was no instruction for that on the KDF-9. >> And they can be typed interactively as well as in >> programs. > > As in many implementations of Python and BASIC in its many incarnations. Do > not confuse > a language with the language support. I am not. But the subject line of the article is a bit ambiguous because it says "The Forth Computer Language" so is it referring to a component of Forth, or is it assuming that Forth is just a language and nothing else? I checked on Chuck Moore's website and he describes it as both a language, an interpreter, and an operating system in one paragraph. "Abstract "Forth is a simple, natural computer language. It has achieved remarkable acceptance where efficiency is valued. It evolved in the 1960s on a journey from university through business to laboratory. This is the story of how a simple interpreter expanded its abilities to become a complete programming language/operating system."