You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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:
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;
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;
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 ;-)