Quite some activity..

60 views
Skip to first unread message

The Beez

unread,
Jun 10, 2017, 11:41:39 AM6/10/17
to 4tH-compiler
Hi 4tH-ers!

You may have wondered where all that activity has come from. Well, those are all the changes that have been stacked up all the time. Maybe you wonder why I didn't cram them in before v3.62.5. That's easy. Every change poses a risk and I want to have some experience with a release before it goes out. Sure, everything is tested, but the proof is in the pudding.

And these are some major changes. we added STOW which does ( n1 n2 -- n1 n1 n2). Some call it NUP, others UNDER and you also find STASH. In the tradition of all stack acrobats, I wanted a four letter word that also meant something - so it is STOW. R'@ is a primitive now, just like R"@. Consequently, I' has returned after 20 years (!). The victim was */. It's still there, but as an inline macro. Note */MOD was already one and both never really conformed to Forth, so.. I guess it's not a big loss.

Now I'm going to enjoy a new 4tH. If you want so too, just go to SVN, download the code and compile it. Brave man.. For all mortals, you just have to wait a little while longer.

BTW, we also got a library for Intel hex generation and an amazingly brilliant and lightweight solution for locals. More later.

Hans Bezemer

The Beez

unread,
Jun 22, 2017, 6:24:16 AM6/22/17
to 4tH-compiler
Hi 4tH-ers!

There are a few things I forgot to tell you:
  • +TO is here with an elegant lightway solution:  it is converted to a +! expression;
  • ;THEN can replace those ugly EXIT THEN sequences. Use it whenever you can to help the tail call optimizer. For the clever ones: there is a good reason why ;ELSE is missing;
  • Perfect circles, drawn with lightning speed by the graphics package. David Johnson and I are working on it!
Code in SVN, more to come!

Hans Bezemer
Reply all
Reply to author
Forward
0 new messages