Don't worry, I'm Dutch and we can take a lot of heat before we're offended. Nobody is too old to learn! ;-)
I dived somewhat deeper into his project last night (yeah, that's how programmers are) and found out it IS a classic system with a dictionary. And yes, it dumps the entire dictionary if you want to make a turnkey program. AFAIK it works with function pointers. You may be interested to know that I made a function pointer based exec_4th() in the old days. But it was MUCH slower. FICL came to the same conclusion and switched to a switch() based system in later incarnations. A gcc "goto" version can still be built, but where that originally gave me a 25% performance enhancement, lately I found out the switch() based version does better on newer versions of gcc.
Yes, you could easily dump assembly for the words in 4tH. The only thing is that:
(a) It works on a single platform;
(b) Apart from Z80 (yes, I'm that old) I don't know any assembly;
(c) Certain execution tricks may pose a headache.
I think Leonardo's lib could be embedded in other applications (like 4tH or FICL), but it doesn't seem to be especially designed for it. For one, it lacks documentation in that regard.
4tH is written with certain design objectives, and those are listed in the manual. First of all, it should be rock solid (no SEGV's), embeddable in C, and no REPL. Personally, I use a REPL only when either playing around or using it as a calculator. A split window editor with a CLI is fine for me. Edit, save, arrow up, enter. Having a REPL and no way to just compile the thing from the CLI - and finally make an executable was my main beef with Forth. And the screen going black on the ZX Spectrum when you made a mistake, so you had to reload the whole thing was a thing too. Yes, modern Forths are much better in that regard, but 4tH was designed back in 1994 - when the world was quite different.
Frankly, I miss it when design objectives are not make explicit - like Leonardo's 4th. I mean, there are so many Forths, why is yours on earth. ATLAST, FICL, gForth, even JonesForth do much better in that regard, just to name a few.
Hans Bezemer