What the hell is Forth? (2019)
41–50 of 138 posts
Re: What the hell is Forth? (2019)
#42Wait! Is core Forth smaller than core Scheme?
Re: What the hell is Forth? (2019)
#43> A single person should be able to understand a computing system in its entirety, so that they can change it to fit their needs This idea combined with the notion that software written by someone else necessarily serves their purposes rather than yours has me gradually working in that direction. Really all I need to do is write (or run) a forth on some bare metal. It's fun to build your own hardware as well which is…
The part about the language being a little bootstrap and then mostly implemented in its own language... Are there other languages like this? At least any mainstream ones?
It's a relatively small leap to writing the language in that subset, and implementing a small virtual machine for that subset, and then executing the language. Many toy Scheme implementations have been written in this way. But most major implementations, while often written in Lisp (or Scheme), generally do not do that. They use the full language and are not able to bootstrap like that. Though the 1980s Lisp machines kind of did do it that way. The garbage collector and parts of the OS and runtime were written in a Lisp-like assembly language.
Re: What the hell is Forth? (2019)
#44The author complains about not having local variables, but most decent Forth environments have them. It is not difficult to have local variables in Forth, just use a library or compiler that provides them.
http://www.cs.uni.edu/~wallingf/blog/archives/monthly/2017-1...
Re: What the hell is Forth? (2019)
#45I didn't even see a mention of the old bumper sticker: "Forth love if honk then"
フォースが好きなら、クラクションを鳴らしてよ
[forth][love][if] [honk] [eh]Re: What the hell is Forth? (2019)
#46I believe that any programmer should at least know a little about Forth. It's like Lisp. Just knowing about them is extremely enlightening, even if you don't use them in your daily life. Obligatory link: https://github.com/nornagon/jonesforth/blob/master/jonesfort... This well-written tutorial will have you implement a Forth in 500 lines of assembly and another 500 lines of Forth. You will feel like a different perso…
We cobbled together text whizzing smoothly across the screen and changing colours within about 20 mins of loading the thing. Loading from tape took a good five minutes. Unlike the C64 and Vic20 the Speccy used consumer tape units.
I have absolutely no idea what you are on about with your big boy modern programming terms but I managed to convince quite a few parents that their sprogs were at the cutting edge or at least wasting time well, back in the day!
Re: What the hell is Forth? (2019)
#47I believe that any programmer should at least know a little about Forth. It's like Lisp. Just knowing about them is extremely enlightening, even if you don't use them in your daily life. Obligatory link: https://github.com/nornagon/jonesforth/blob/master/jonesfort... This well-written tutorial will have you implement a Forth in 500 lines of assembly and another 500 lines of Forth. You will feel like a different perso…
I've also heard it cures cancer. Any truth to this?
THIS TRUTH ANY TO?
Re: What the hell is Forth? (2019)
#48Re: What the hell is Forth? (2019)
#49> A single person should be able to understand a computing system in its entirety, so that they can change it to fit their needs This idea combined with the notion that software written by someone else necessarily serves their purposes rather than yours has me gradually working in that direction. Really all I need to do is write (or run) a forth on some bare metal. It's fun to build your own hardware as well which is…
I remember and learned a little forth because of that console you could get with PowerPC Macs back in the day. I think I remember there was a key combination to boot in that embedded forth interpreter. It was pretty cool
(Hence the key combination cmd-opt-O-F)
Re: What the hell is Forth? (2019)
#50I never tried to build my own Forth, though.