Sujet : Re: Build Forth interpreter into a C/C++ application
De : buzz_mccool (at) *nospam* yahoo.com (Buzz McCool)
Groupes : comp.lang.forthDate : 12. Feb 2025, 03:06:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vogvmg$21e2v$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 2/11/25 14:37, Paul Rubin wrote:
... Is the
idea to stop the application while poking around with Forth, or would
Forth be a task under an RTOS, or what?
I'm unclear on the whole concept Tom Zimmer was advocating so I was asking if anyone had examples.
I have a bare metal type embedded system I'm working on where I can command it from Ethernet. It has a serial console port. Maybe your first idea would be an example where I could command it to stop and jump into a Forth ok prompt so I could type commands into the serial port and see debug output there.
Your second idea is along the lines of the Gforth/ATLAST concept where Forth is a scripting language for a C/C++ application. I have another Linux based embedded system that has some pieces that are always changing. Maybe a Forth task inside a C/C++ program that would pick up changeable scripts from the SD Card would be better than constantly recompiling my C/C++ application and re-flashing main memory.