Search found 8 matches

by programandala.net
Wed Dec 16, 2015 11:59 pm
Forum: Forth
Topic: extra stack operators
Replies: 37
Views: 24970

Re: extra stack operators


Even within the standard, I have a hard time remembering which way round ROT goes. It seems like every time I need to use it, I either look it up or I do "1 2 3 ROT .S DROP 2DROP" to figure it out.

I suggest this mnemonic: `rot` is the "normal", so it's "clockwise"; `-rot` is the opposite.
by programandala.net
Wed Dec 16, 2015 8:26 pm
Forum: Forth
Topic: extra stack operators
Replies: 37
Views: 24970

Re: extra stack operators

Seems to me that it would be useful to have a stack manipulator word for every permutation of stack diagram, and these should have universally accepted names.


I don't think it would be practical, even feasible. There are many different stack operations you can do, and most of them can be defined ...
by programandala.net
Wed Dec 16, 2015 8:12 pm
Forum: Forth
Topic: extra stack operators
Replies: 37
Views: 24970

Re: extra stack operators

barrym95838 wrote:
: UNDER ( a b -- a a b ) OVER SWAP ;
It's called also nup. It seems there's no accepted name yet. Some Forthers dislike those too specific stack manipulations, except the standard nip and tuck; others find them useful.
by programandala.net
Mon Dec 14, 2015 9:23 pm
Forum: Forth
Topic: What is Forth?
Replies: 148
Views: 187346

Re: What is Forth?

I don't program the 6502, but the Z80. I joined because Forth is my favorite language and I've seen there are interesting discussions here.

I quote myself to make it clearer, just in case: I know the forum is 6502-specific. I have no intention to post about Forth on Z80. There are other forums ...
by programandala.net
Mon Dec 14, 2015 3:32 pm
Forum: Forth
Topic: What is Forth?
Replies: 148
Views: 187346

Re: What is Forth?

Thanks Marcos. I updated the links in my earlier post.

Great. When I realized the links you recommended were broken I got intrigued, because I like reading any kind of Forth tutorials and introductions, so I searched web.archive.org for the latest copies. I liked that old site by Brad Eckert. It ...
by programandala.net
Mon Dec 14, 2015 3:22 pm
Forum: Forth
Topic: What is Forth?
Replies: 148
Views: 187346

Re: What is Forth?

Dr Jefyll wrote:
Welcome, Marcos, and thanks for the links. Nice to have another Forth fan join our group! :)
Thanks. I don't program the 6502, but the Z80. I joined because Forth is my favorite language and I've seen there are interesting discussions here.
by programandala.net
Sun Dec 13, 2015 6:04 pm
Forum: Forth
Topic: What is Forth?
Replies: 148
Views: 187346

Re: What is Forth?

and there is also an F83 standard.


This clarification may be useful: Sometimes "F83" is used as an informal abbreviation of "Forth-83", but they are two different things:


Forth-83 Standard .
F83, a popular Forth-83 Standard Forth system, written by Michael Perry and Henry Laxen, with ...
by programandala.net
Sun Dec 13, 2015 4:05 pm
Forum: Forth
Topic: What is Forth?
Replies: 148
Views: 187346

Re:

I'll direct you to a couple of good ones, http://www.tinyboot.com/about4th.html and http://www.tinyboot.com/bforth.htm , before attempting to answer it myself below..

That website disappeared some years ago, but the most recent copies of those pages on archive.org are the following:


A brief ...