discussion icon indicating copy to clipboard operation
discussion copied to clipboard

FreeForth: Encouraging Interactivity with ;`

Open laheadle opened this issue 9 years ago • 6 comments
trafficstars

Here's a link to my recent blog post about FreeForth interactivity!

http://www.stinkless.org/blog/encouraging-interactivity-with.html

laheadle avatar Feb 24 '16 17:02 laheadle

Thanks @laheadle, I'd never met FreeForth before.

Interesting approach to avoiding STATE - I think I like it.

Although it does mean the compiler has to do an additional search through the dictionary for the backquoted version of each word. And all the extra ';'s dangling around seem wrong, like unmatched brackets.

Somewhat like lisp's quote, but in a FORTH way, as well as somewhat like J's idea of adverbs and conjunctions, which are 'words' immediately prepended or appended which modify the attached word, without needing that word to be re-written.

RGD2 avatar Feb 26 '16 06:02 RGD2

Might be enougth to use another search order. Am 26.02.2016 07:25 schrieb "RGD2" [email protected]:

Thanks @laheadle https://github.com/laheadle, I'd never met FreeForth before.

Interesting approach to avoiding STATE - I think I like it.

Although it does mean the compiler has to do an additional search through the dictionary for the backquoted version of each word. And all the extra ';'s dangling around seem wrong, like unmatched brackets.

Somewhat like lisp's quote, but in a FORTH way, as well as somewhat like J http://www.jsoftware.com's idea of adverbs and conjunctions, which are 'words' immediately prepended or appended which modify the attached word, without needing that word to be re-written.

— Reply to this email directly or view it on GitHub https://github.com/ForthHub/discussion/issues/25#issuecomment-189129397.

jjonethal avatar Feb 27 '16 01:02 jjonethal

I greatly enjoyed your article. FreeForth is superb and full of surprises for an old C programmer like myself. The only thing missing that I really wanted was turnkey support. Happily, I managed to add it. I'm calling my version FreeForth2.

I look forward to your next article!

ghost avatar Mar 20 '16 04:03 ghost

Thanks for all the feedback everyone. If you enjoyed my article and are intrigued by FreeForth, I encourage you to look at the recent work of @dancancode on FreeForth2. In less than 2 weeks, Dan has made a number of substantial and extremely valuable changes to the original FreeForth codebase, including not only (as he mentions above) turnkey support -- generating an independent executable which does not depend on external source code; but also modifications to make FreeForth more interactive and syntactically convenient; a disassembler; a simple, intriguing and, I think, FreeForthy version of locals; and more!

Dan, it's very exciting to see you making so many changes with such assurance, and so steadily and quickly. It's a testament not only to your coding skills, but also to Christophe's original work of art -- so powerful, yet so extensible. You may be an "old C programmer," but you've clearly picked up some strong skills in Forth and assembly language along the way. I'm looking forward to the next two weeks and beyond!

laheadle avatar Mar 21 '16 15:03 laheadle

Wow, thank you!

ghost avatar Mar 21 '16 15:03 ghost

Blog post link is dead.

tomberek avatar Jul 29 '18 22:07 tomberek