Description:
Discussion about Forth.
|
|
|
PostFix: A Simple Stack Language
|
| |
I thought folks here might be interested in the book: "Design Concepts in Programming Languages" by Franklyn A. Turbak and David K. Gifford, which uses a stack-based language for its examples. From the introduction: "We will introduce the tools for syntax, semantics, and pragmatics in the context of a mini-language called PostFix. PostFix is a simple stack-based... more »
|
|
Simple gforth C Interface
|
| |
As an experiment to start getting my head around this new C interface that Bernd and Anton delivered with their latest snapshot, here's the simplest call I've found. I recommend shipping it with gforth, and documenting the libcc-tmp folder, but that is their call, not mine. ;) ...\ Contains: GForth dylib test sample... more »
|
|
FORTH on Cell/PS-3
|
| |
Does a FORTH, commercial or free, exist for the Cell processor used in Sony's PlayStation 3 game console? I have been unable to locate anything significant - "forth" is not the best keyword. We have installed Linux on one PS3 and the IBM SDK allows programs written in C to run in parallel on most of the 8 SPUs. Each SPU has "only" 256 KB for... more »
|
|
Win32Forth defect in (LOCAL)?
|
| |
While trying to validate my new ANS Forth implemention of StrongForth on Win32Forth, I stumbled over an issue with (LOCAL). The generated code didn't work, and I finally found out that even the sample definition of LOCALS| from appendix A15 of the ANS Forth spec doesn't work correctly: Win32Forth: a Forth for Windows 95/98/ME/NT/2K/XP... more »
|
|
PLCs and forth
|
| |
Hi, I'm studiyng forth, and i find it a lot interesting. My work is in the automation with PLC for packaging machines programmed in ladder language. Is there any use of Forth for that kind of application, or any commercial controller that works for doing PLC logic ? Thank you
|
|
Advanced Forth app techniques
|
| |
Most of what I find written about Forth programming involves the basics; data stack, control structures, I/O, compilation. I'm interested in learning ways that complete non-programming-language- related applications (e.g. NOT Forth's written in Forth) have leveraged Forth's unique capabilities to solve problems differently... more »
|
|
Float variables in locals.
|
| |
here 100 floats allot value fsp ... fsp over floats over + rot 0 ?do ( fsp0 fspn ) 1 floats - dup f! ( fsp0 fspn-1 ) over 1 floats + swap ( fsp0 fsp1 fspn-1 ) loop over ! 1 floats + to fsp ; ... fsp 1 floats - @ to fsp ; \ test ... 2 flocs locals| 'y 'x b a |... more »
|
|
Intellasys News?
|
| |
I was wondering if there was any Intellasys news as of late for us mortals? Jason
|
|
Forth is Factorable --- factoring out DO ... LOOP
|
| |
I find that Forth is ultimately factorable. It is in fact capable of factoring loops. DO LOOP can be factored away. Here is one way to do that. ...\ ( xt-stop xt-doer -- ) BEGIN DUP EXECUTE OVER EXECUTE UNTIL 2DROP ; Jason
|
|
|