v3.64.3 development has started

3 views
Skip to first unread message

The Beez

unread,
Dec 16, 2025, 7:03:06 AM (23 hours ago) Dec 16
to 4tH-compiler
Hi 4tH-ers!

While development never stopped, I've updated the Makefile and entered the Changelog for it in the manual.

And there are already some significant changes:
  1. I added "[]" as equivalent for "CHARS +", like "TH" is the equivalent for "CELLS +". It is a word that frequently comes along. Many people used "TH" for such purposes (because on 4tH, both are an alias for "+"), but that doesn't go very well when you want to port your program to true Forth;
  2. I also added an ASCIIZ.4tH library, because if you want to port a 4tH program to Forth, Forths insistence on counted strings spoils the fun. This makes this exercise a whole lot easier, the only thing you have to do is to ad a "z" prefix to PLACE, COUNT and +PLACE. You can even use those names in 4tH with this library, so you can develop and test the whole shebang under 4tH;
  3. I also added a quick "search character in string" routine. It returns an offset - not an address. And yes,  negative offset? Not found.
And some other minor things as well. There's plenty to do ;-)

Hans Bezemer
Reply all
Reply to author
Forward
0 new messages