4 ms·
All of the "big" Forth systems come with some sort of standard library. In the open source world, gForth [1] is pretty well-known which comes with a comprehens
by dvdkhlng 10y ago
All of the "big" Forth systems come with some sort of standard library.
In the open source world, gForth [1] is pretty well-known which comes with a comprehensive set of words [2] many are not part of the ANS Forth standard [3,4]. You could call that gForth's "standard library". For stuff that is missing, gForth has an interface to native system libraries [5].
For math and scientific computing there is the Forth Scientific Library [6] which is written in standard-conforming forth and can be loaded and used on most of the forth systems currently in use.
But then Forth coders somehow live by the philosophy "if you want it to be done right you have to do it yourself", so use of library code is frowned upon and people usually tend to reinvent the wheel and writing code from scratch :)
[1] https://www.gnu.org/software/gforth/ https://www.gnu.org/software/gforth/
[2] http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/ http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/
[3] https://www.taygeta.com/forth/dpans.html https://www.taygeta.com/forth/dpans.html
[4] http://www.forth200x.org/documents/forth14-5.pdf http://www.forth200x.org/documents/forth14-5.pdf
[5] http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/C-Interface.html#C-Interface http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/C-In...
[6] https://www.taygeta.com/fsl/scilib.html https://www.taygeta.com/fsl/scilib.html