Re: Use of ';' in Forth Compiler
- From: John Doty <jpd@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Jun 2005 12:25:48 -0600
Andrew Haley wrote:
John Doty <jpd@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Elizabeth D Rather wrote:
> I can't speak for you, of course, but the major reason I like it is
because its level of interactivity (including as its modularity) makes it much, much quicker to develop and test applications. And that's all connected to the interpreter as well as the way the stack is used for parameter passing.
Again the misconception that the interpreter is a positive thing. The positive thing is the interactive command/execution loop.
Right, and in Forth that's called the "interpreter". Really, you're making a spurious distinction here.
No. Your backward Forth dialect happpens to have an interpreter here from historical inertia. A compiler is better. It's a profound distinction, not spurious at all. I was explaining this to a student a few months ago when an old colleague jumped in with "Jon Sachs fixed the most serious defect in Forth." The interpreter is the biggest source of incoherence and unreadability in traditional Forths. And since compiled code can do everything interpreted code can do (and much more) the interpreter is completely unnecessary. But explaining this here often seems like telling a drug addict "You know, the junk is killing you."
Implementing that with an interpreter makes it less effective, because now instead of a unified language you have two different languages (which for maximum confusion share a common vocabulary!).
No it doesn't, for reasons that have been explained here many times.
And they have been refuted many times. Your explanation always comes down to "It breaks the following neat trick ...". The trouble is that neat tricks aren't the same as clear, effective coding.
-jpd .
- Follow-Ups:
- Re: Use of ';' in Forth Compiler
- From: Andrew Haley
- Re: Use of ';' in Forth Compiler
- References:
- Re: Use of ';' in Forth Compiler
- From: PagCal
- Re: Use of ';' in Forth Compiler
- From: Elizabeth D Rather
- Re: Use of ';' in Forth Compiler
- From: Albert van der Horst
- Re: Use of ';' in Forth Compiler
- From: Elizabeth D Rather
- Re: Use of ';' in Forth Compiler
- From: John Doty
- Re: Use of ';' in Forth Compiler
- From: Andrew Haley
- Re: Use of ';' in Forth Compiler
- Prev by Date: Re: Forth as kid's beginner programming?
- Next by Date: Re: Forth as kid's beginner programming?
- Previous by thread: Re: Use of ';' in Forth Compiler
- Next by thread: Re: Use of ';' in Forth Compiler
- Index(es):
Relevant Pages
|