10 ms·
Retro: A modern, pragmatic Forth
- yuppiepuppie 3y agoSeems like something is wrong with the site. I’m unable to reach it.
- danjoredd 3y agosame
- retrocryptid 3y agoI think it's getting more requests than the site owner expected.
- genpfault 3y agohttps://web.archive.org/web/20230711163359/https://retroforth.org/ https://web.archive.org/web/20230711163359/https://retrofort...
- mikewarot 3y agohttp://www.retroforth.org/ http://www.retroforth.org/ seems to work just fine
- dang 3y agoThanks- let's try it for now (changed from https://www.retroforth.org/ https://www.retroforth.org/)
- zelphirkalt 3y agoWorks no longer.
- dang 3y agoRelated: RetroForth 2021.1 - https://news.ycombinator.com/item?id=26168640 https://news.ycombinator.com/item?id=26168640 - Feb 2021 (52 comments) Retro: A Modern, Pragmatic Forth - https://news.ycombinator.com/item?id=19997008 https://news.ycombinator.com/item?id=19997008 - May 2019 (50 comments) Retro: Neat use of ports as high-level API from inside a VM (stack language) - https://news.ycombinator.com/item?id=9764962 https://news.ycombinator.com/item?id=9764962 - June 2015 (1 comment)
- rickcarlino 3y agoHacker news may be giving this site the hug of death. https://web.archive.org/web/20230711163359/https://retroforth.org/ https://web.archive.org/web/20230711163359/https://retrofort... Retro is an interesting Forth platform because it has numerous features not present in more traditional Forth systems, such as the ability to create closures and first class literals while still maintaining compactness that would be expected of a Forth system. It was originally meant for desktop scripting but has been ported to tiny devices like microcontrollers. It is worth a look if you are even mildly curious about Forth
- Pet_Ant 3y agoI would love a Forth with a type system. I don't know if that is heretical, but I'd love a higher-order type system for when you are several meta-words deep. Disclaimer: I've only used Factor on Project Euler problems.
- vanderZwan 3y agoWhile not quite a Forth, Kitten is a stack language: https://kittenlang.org/ https://kittenlang.org/
- TapamN 3y agoMight not be quite what you're thinking of, but for typed Forth, there's StrongForth, which is statically typed. I wrote a Forth-based scripting system for Dreamcast homebrew, and used StrongForth's type system in it. I would run and edit the scripts live on the console, and the static typing was a big help to prevent errors that could crash the system (since the game ran under a single process, and did not use the MMU). https://www.stephan-becher.de/strongforth/intro.htm https://www.stephan-becher.de/strongforth/intro.htm
- poldy 3y agoPersonally I prefer Dr. Becher's follow-on project, StrongForth.f, which is just a library to load into a standard system like gforth (which is probably in your OS's package repo). http://www.arestlessmind.org/2013/08/17/ http://www.arestlessmind.org/2013/08/17/
- retrocryptid 3y agoCool beans. The literate coding system they're using (Unu) is a bit primitive, but it's GREAT that they're using one at all.
- zimpenfish 3y ago> The literate coding system they're using We need a new name for this kind of thing[1] because it's not really literate programming - you can't re-order your code blocks in the literate source files and have them come out in the right place in the code source files which is, I think, a key part of it being literate programming. Don't get me wrong - I use this a lot with the various *occos - but it needs a name of its own. [1] Assuming we don't already have one that I've missed.
- dllthomas 3y agoSadly, I think the new name for this kind of thing has been "literate programming" for the past 20 years at least, while the literate programming that Knuth described has been renamed something like "the literate programming that Knuth described".
- mananaysiempre 3y agoI think Docco was when that approach acquired some kind of popularity? So 2010 or so[1]. Of course Haskell has had its “literate format” since forever (ETA: the Haskell 1.2 report[2], dated March 1992, has a description in an appendix), and it became mildly popular for Haskell blogging when blogs caught on, but its name was always accompanied by a side note that in Haskell you don’t really need to reorder things (kind of true). [1] https://github.com/jashkenas/docco/commit/9b666b77c476fd76b9a22d2a9f69c4b683829119 https://github.com/jashkenas/docco/commit/9b666b77c476fd76b9... [2] http://haskell.org/definition/haskell-report-1.2.ps.gz http://haskell.org/definition/haskell-report-1.2.ps.gz
- dllthomas 3y agoI recall, on first encountering Literate Haskell at some point after 2010, mentally comparing it to something I thought I recalled from earlier in the perl ecosystem (on top of being vaguely aware of Knuth's stuff, although I hadn't actually read up on it at that point - at this point I have a copy on my desk).
- deleted 3y ago[deleted]
- deleted 3y ago[deleted]
- bowsamic 3y agoI find it hard to get into Forth, in part because every time I ask a Forth developer what they use Forth for, they simply say "writing my own Forth". It seems to be Forths all the way down. When I tried to write a piece of software in it, a basic TODO list app, and had issues with dynamically sized arrays, every Forth programmer I asked said "this task is not suited for Forth". Okay, then what is? Very strange
- jacquesm 3y ago> Okay, then what is? Bootstrapping new hardware. Industrial control (real time). Firmware. Compilation target.
- bowsamic 3y agoI mean fair enough but a lot of Forth fans try and sell it as a general purpose programming language and even compare it to things like LISP, but it's obviously really not, it's very domain specific.
- jacquesm 3y agoFORTH isn't necessarily domain specific when you start a project, but it always is by the time you finish. In that sense it is actually much more like LISP than most other languages, it is scaffolding that allows you to build a DSL (in FORTH probably in the most literal sense of the word(s)).
- tehologist 3y agoI am so happy to see Charles is still releasing new versions. Has a lot of interesting designs on functional programming using the stack. You can see the inspirations from joy and the portable virtual machine is well designed and easy to understand. This is a great project to study and experiment with.