4 ms·
Not Forth, but Factor (https://factorcode.org/ https://factorcode.org/) is very much inspired by Forth (also being a stack-based / concatenative programming lan
by undecidabot 10y ago
Not Forth, but Factor (https://factorcode.org/ https://factorcode.org/) is very much inspired by Forth (also being a stack-based / concatenative programming language), and it does have a good standard library complete with your usual data structures along with extra libraries for regexp, several parsers (csv, json, xml), an http server and client, a web framework (built on top of that server with SQL DB drivers), a ui framework (via OpenGL), and even xkcd (http://docs.factorcode.org/content/article-vocab-index.html http://docs.factorcode.org/content/article-vocab-index.html).
Check this blog out for some cool things you could do with Factor: http://re-factor.blogspot.com/ http://re-factor.blogspot.com/
- AstroJetson 10y agoFactor is cool, but it has some differences that may trip an experienced user. But for a first time Forth user, the extra frameworks/libraries may be a help. As pointed out below, FIG Forth has a great deal of support. All my interactions using Forth have been on underpowered systems pounding on the bare metal. So lots of the words created supported that environment. Math words and geometry words came from FIG Forth.
- swah 10y agoThe small community around Slava Pestov was (is) great... The standard library is amazing and they (used to) follow a model that has worked well for them (IRRC): the best libraries from the community become part of the distribution. If they aren't that well written, the core guys would help you express the idea better. And then it could make it into the standard library. Or the core guys would just rewrite it for you (Factor is very compact). On the other hand, if something solving that same problem was already in the standard library, there was no discussion: that problem is already solved. Happy to see that Factor still lives!