[HN Gopher] Tiny FORTH from scratch in 1 week (bootloader-based ...
___________________________________________________________________
Tiny FORTH from scratch in 1 week (bootloader-based Arduino UNO, 2K
of RAM)
Author : ttsiodras
Score : 61 points
Date : 2021-07-03 16:33 UTC (6 hours ago)
(HTM) web link (www.thanassis.space)
(TXT) w3m dump (www.thanassis.space)
| creamytaco wrote:
| Forth in C++ ... sacrilege!
|
| Other than that looks like you had fun but I can't stress how
| much more fun bootstrapping a Forth directly on bare metal is.
| 7thaccount wrote:
| I hope you don't see the Forth I wrote in Python ;)
|
| In all seriousness I agree that Assembly and C are probably the
| best choices for putting together a serious Forth for most
| work.
|
| Ron's commercial 8th language (very much a Forth) is written in
| C++ though and that allows him to add in support for a lot of
| common enterprise needs (ODBC, SQLite, AWS, Android/iOS,
| Bluetooth, GUI, a bunch of file formats...etc etc) that you
| almost never see in other Forths. So C++ is a blessing and a
| curse.
| creamytaco wrote:
| Chuck Moore wouldn't consider ANS Forth a .. Forth. There is
| something to be said about the spirit of Forth as expressed
| through Moore and his ideas versus the sterilized, industrial
| or more elaborate offshoots. For us loyal Moore acolytes,
| things like 8th and even Factor are abominations.
| pmarreck wrote:
| Did Moore's Forth have case-sensitivity, which would be
| inherently faster?
| caslon wrote:
| Yes, actually, as Moore's initial FORTHs were written for
| machines that only had a single case. That said, the
| above poster isn't quite on the mark, either.
| throwaway17_17 wrote:
| Can you expand on this line of thought. I have a gut
| feeling you are correct based on what I've read from Moore,
| but if you can summarize why he would think this I'd like
| to see it distilled.
| caslon wrote:
| "I had reservations about ANSI. I worried that it would
| be a disaster and not merely a dubious advantage. All of
| my fears of the standard and none of the advantages of
| the standard have come to pass. Any spirit of innovation
| has been thoroughly quelched. Underground Forths are
| still needed. I said I thought the standard should be a
| publication standard but they wanted an execution
| standard."
|
| "There is a problem that I first saw at iTV. It was the
| first time I have been in the presence of a Forth project
| that I wasn't contributing to. I saw how other
| programmers use Forth. They don't always get it right."
|
| "Besides stacks plus colon definitions there is something
| else. There needs to be another book written about
| writing good code."
|
| -- Chuck Moore, 1997
| Something1234 wrote:
| Can someone add more context here? When ever I read about
| forth it always seems like there's some missing context
| that isn't mentioned any where. Who's Ron? What's the 8th
| language? Do these things have more sugar?
___________________________________________________________________
(page generated 2021-07-03 23:00 UTC)