Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Rod Pemberton Newsgroups: comp.lang.forth Subject: Re: Astronomy and programming languages Date: Thu, 8 Jun 2017 08:28:28 -0400 Organization: Aioe.org NNTP Server Lines: 29 Message-ID: <20170608082828.6d7bdb42@_> References: <2017Jun3.110911@mips.complang.tuwien.ac.at> <4e405e42-f148-4514-b023-0df92ea41159@googlegroups.com> <3daf336e-6996-4de4-be0e-9ced579314ab@googlegroups.com> <20170607160543.303725c0@_> <7fb6a060-8759-402f-ae5a-dda44f7ac870@googlegroups.com> NNTP-Posting-Host: ZTD62cW/Uw8bymX5ok+0NA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.forth:60468 On Wed, 7 Jun 2017 22:26:12 -0700 (PDT) Raimond Dragomir wrote: > The target programmers are PC/embedded windows programmers which I > know for sure they program right now in Visual Basic, at least as a > fast "prototyping" language. > > Current basic interpreters that I know of are ugly like I said. > But I'm sure that if I start with my current scripting forth I can > make a pretty decent basic, with no line numbers et. If you're using BASIC to control a machine, then you want a line numbered BASIC. BASIC is just being used as a way to implement control-flow, printing, variables, input, and saving the non-BASIC commands to file (together with the BASIC code). A line-numbered BASIC allows you to easily edit a single line of the non-BASIC code use for machine control. You just type in the new line with line number. BASIC only needs a single line editor, in this situation, instead of a TUI or full-screen text-editor. The non-BASIC code will usually start with an escape character, such as '$', right after the line number. The non-BASIC code is custom to the machine. Rod Pemberton -- The Paris Agreement is irrelevant. A carbon tax is futile. The only solution is technology. Please tell Elon Musk that he is not being a technology visionary.