Archive: forth/utilities

Up to parent directory

primes
primes.fs 30Nov04 13:37:08EST 3.3K A commented version of Eratosthenes' sieve, designed for viewing primes in a range.
byteprimes.fs 30Nov04 13:36:19EST 3.9K The Gilbreath, Byte Magazine version of the above.

floating point
dztest-float.fs 30Nov04 13:36:35EST 7.2K Dirk Zoller's float tests rewritten for ftester.fs.
fslflocals.fs 30Nov04 13:36:37EST 2.2K FSL floating point locals with an alignment fix.
ftester.fs 24Apr05 19:26:40EDT 5.7K John R. Hayes' tester.fr extended to include a separate floating point stack.
hexfloat.fs 16Mar05 08:40:21EST 25K Convert between IEEE 754 32-bit or 64-bit floats, and C99-style mixed hex, decimal radix two power notation.
hexfloat-test.fs 16Mar05 08:40:08EST 21K Test program for hexfloat.fs. Requires ftester.fs.
rawhex2float.fs 30Nov04 13:37:16EST 2.9K Convert a raw float hex string to an ANS Forth default float.
plainfarray.fs 08Jun07 17:56:43EDT 4.8K Plain floating point arrays for ANS Forth default floats, with some variation from FSL conventions. The words work with or without a separate float stack.

structures
plainstruct.fs 30Nov04 13:37:06EST 2.3K Our understanding of common practise for structure words, started by Mitch Bradley.
qdstruct.fs 30Nov04 13:37:14EST 3.1K Quick and dirty structures.
qdstruct-pfe.fs 30Nov04 13:37:12EST 2.0K Nonstandard word and string fields for quick and dirty structures.
namedstruct.fs 30Nov04 13:40:19EST 6.5K Named structures with reusable field and method names.
qdnamstruct.fs 30Nov04 13:37:10EST 4.3K Quick and dirty structures with reusable member names.

miscellaneous
tester.fs 04Sep06 10:14:02EDT 1.6K John R. Hayes' tester.fr.
testerplus.fs 04Sep06 10:09:00EDT 2.4K The above file modifed to include Krishna Myneni's color-coded commenting and a count of errors.
sarray.fs 30Nov04 13:37:25EST 3.3K ANS Forth string arrays.
dstring-array.fs 06Mar07 10:56:54EST 3.3K Dynamic-string arrays.
copyinput.fs 30Nov04 13:36:21EST 5.2K Words to save the input stream across lines up to a terminating string so it can be processed later. Includes a word for extending structures.
lfinput.fs 28Aug06 06:38:40EDT 9.1K Line file parsing analogous to the input stream. Needs either parsing.fs or our pfe external parsing library.
lfinput-test.fs
lftest1.txt
lftest2.txt
25Aug06 09:19:26EDT
02Aug06 12:18:11EDT
02Aug06 12:08:05EDT
2.4K
107
107
Rudimentary tests for lfinput.fs.
mkindexfile.fs 08Nov06 17:37:46EST 11K Write a index.html file for this archive from user input.
qdexeca-pfe.fs 24Dec04 13:00:02EST 2.1K Defining words for execution arrays, based on pfe primitives in execution-ext.c
sudoku.fs 18Nov05 15:02:14EST 14K Robert Spykerman's Sudoku puzzle solver enhanced to input a full puzzle from the command line or a file.
xstacks.fs 20Dec06 21:19:15EST 8.9K An ANS Forth implementation of the "basic" xstack words in the pfe xstacks loadable module, and of the xstacks defining words in xstacks-pfe.fs
xstacks-test.fs 20Dec06 21:16:29EST 5.6K Hayes-type tests for xstacks.fs, with a switch for the pfe implementation of the basic xstacks words. Needs twx.fs
twx.fs 09Sep06 13:41:45EDT 3.5K John Hayes' Forth testing words modified to work with xstacks.
undef.fs 30Nov04 13:37:26EST 729 ANS Forth bootstrap for [UNDEFINED].
logs/

Up to top of archive

Files in this directory under the GNU LGPL typically have a POLITENESS request.