Description:
Discussion about Forth.
|
|
|
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 »
|
|
Brain freeze. Trouble naming a word.
|
| |
What would be the proper way to name a word which will print a signed number with the sign? ie. +5 -12 +0 instead of no sign for positive numbers and zeros? Fred
|
|
MainLoop of iForth mind.frt supercomputer AI
|
| |
The mind.frt AI in iForth and the older mind.f AI in Win32Forth have the luxury of a top-down, Main Loop mind-design because they are based on an original Theory of Mind providing the definitive cognitive architecture which bottom-up designs lack. Purpose of MainLoop The Main Loop serves as both the start of the Mind... more »
|
|
Is such usage portable?
|
| |
char ! parse hello, world! S" TYPE" EVALUATE Is the above usage a) portable b) standard? gforth prints "hello, world", so does Win32Forth. The trick is that the text to print is in the input buffer, but the word TYPE executes after changing the input source.
|
|
|