Description:
Discussion about Forth.
|
|
|
Is there a common name for OVER SWAP?
|
| |
Is there a common name for OVER SWAP? I can't think of a good name for it, which argues for leaving it as an idiom. But I find that it (like BOUNDS) turns up just often enough for me to wonder whether it should have a name... I tried grepping through the 15 or 20 Forth systems that I have source for, but neither "over swap" nor the stack effect turned up... more »
|
|
WITHIN
|
| |
In the below, 0=false; -1=true 6 7 10 WITHIN . 0 ok (too low) 11 7 10 WITHIN . 0 ok (too high) 8 7 10 WITHIN . -1 ok 9 7 10 WITHIN . -1 ok 7 7 10 WITHIN . -1 ok <----- correct? 10 7 10 WITHIN . -1 ok <----- correct? In other words, what is the behaviour for the edge cases, 7 & 10? For my purposes, WITHIN is:... more »
|
|
LC53 statistics
|
| |
The recently anounced lc53 algorithm implementation presented some intriguing statistics. Here it is in slightly condensed form, without unnecessary optimizations, for easier evaluation. It is a classical example of optimizing the wrong things too early. The obvious change to processing four bytes at a time made it three times faster.... more »
|
|
symtab
|
| |
...Here is a Factor program: [link] Here is a Forth program: [link] [link] The novice.4th program contains some support functions needed by symtab.4th. The novice.4th program isn't complete; I am adding new functions to it and will later make it available to novices to help... more »
|
|
programmer(s) of the Forth on OLPC project ?
|
| |
such a system already exists. Obtain an XO-1 from One Laptop Per Child and a developers key. Then you have a cute, inexpensive, low-power, child-proof, water-proof, dust-proof netbook that boots to Open Firmware, a very capable Forth system. Ian Who is/are the programmer(s) who have ported the "very capable Forth system" on the XO-1 of the... more »
|
|
?PAIRS
|
| |
This is an old question (possibly) relating to old style (79?) Forths. Reading Forth Dimesions (Vol III, Number VI), page 176. There is an interesting article (interesting to me, anyway) called "Transportable Control Structures with Compiler Security" by Marc Perkel. The code as presented is complete, but the article makes references to... more »
|
|
forthday proceedings
|
| |
request to jeff .. how about some headlines .. sidelines .. and long lines on this saturday's presentations, deliberations, discussions ? and videos too :-))
|
|
Language X, not Forth ?
|
| |
starting new thread as a newer incoming member to all things forth, it is very puzzling to me why such a marvellous language is able to fire up most microchips but not fire up the programmers/users community it will not be forth but a language built on top of it ? Language X ?? (maybe a language which evolved... more »
|
|
Randomizer port gone wrong..
|
| |
Hi! I've been trying to convert this randomizer to Forth, but somewhere I seem to go wrong. Can somebody see anything I overlooked? create Q 41790 cells allot 41790 value indx 362436 value carry 1236789 value xcng 521288629 value xs ... 41790 0 do 7010176 Q i th @ um* carry 0 d+ invert Q i th ! to carry... more »
|
|
|