Programming Examples


loan.4thMortgage Loan Payment Calculator
lf.4thA Simple Word Processor by Leo Wong
primes.4thPrime Numbers
benchpin.4thCalculate number of primes less than or equal to n
horst.4thFactorize numbers
magic.4thMagic Squares
hanoi.4thTowers of Hanoi puzzle
life.4thConway's Game of Life by Leo Wong
animal.4thAnimal Guessing Game by Ed Beroset
eliza.4thEliza psychoanalysis game
shrdlu.4thSon of SHRDLU AI game by Marcel Hendrix
tscp.4thTSCP Tom's Simple Chess Program by Ian Osgood
headlines.4thSearch web pages for item of interest
notes.4thSimple notes database
speech.4thInterface to the Festival Text To Speech System
user.4thDetermine User Properties (Linux)
quadratic.4thSolve quadratic equation with real coefficients
matrix.4thMatrix Words
arrays.4thAlternate Matrix Words by J.V. Noble
polyfit.4thLeast-Squares Polynomial Fitting
linefit.4thLine Fitting Example
pfex.4thPolynomial Fitting Example
derivative.4thNumerical Derivative of x,y Data
curvefit.4thNon-linear Curve Fitting
gfit.4thNon-linear Curve Fitting Example
func_2gauss.4thDouble Gaussian Function for Curve Fitting Example
wfms01-1.datSample Data File for Curve Fitting Example
stats.4thStatistics
histogram.4thBinning Data
noise.4thUniform and Gaussian Random Number Generation
testrandom.4thDemonstrate Use of noise.4th
fft1d.4thFast Fourier Transform (one dimension)
stepfft.4thFFT Example of Step Function
complex.4thComplex Arithmetic and Function Words by J.V. Noble
zmatrix.4thComplex Floating Point Matrices
utils.4thUseful Words for kForth
ans-words.4thAdditional ANS Forth Words for kForth
ansi.4thANSI Terminal Control
strings.4thString Manipulation/Number Conversion
dump.4thMemory Display
files.4thFile Access (Linux version)
filesw.4thFile Access (Windows version)
ftest.4thFile i/o Example
matfiles.4thWrite and Read Matrix Files
kforth2pfe.4thInterface to run kForth Programs Under the Portable Forth Environment (PFE)
dos2unix.4thDOS Text to Unix Text File Conversion
scr2txt.4thBlock File to Text File Conversion
lz77.4thLZ77 Data Compression Algorithm by Wil Baden
arcfour.4thARCFOUR Data Encryption/Decryption Algorithm by Neil Bawd
machar.4thDetermine floating point machine charactersitics by David Williams
jd.4thJulian Day and Calendar Calculator
fsm.4thFinite State Machine Example
crc-16.4th16-bit CRC (Cyclic Redundancy Check) Calculation by Gordon Charlton
crc-32.4th32-bit CRC Calculation
ipsubnet.4thIP Subnet Calculation
mouse.4thMouse Interface for Linux Consoles
serial.4thLinux Serial Port Interface
serbuf.4thMeasure Linux Serial Driver Buffer Size
hexterm.4thDisplay Incoming Serial Port Data (Linux)
adio.4thData Acquisition with the B&B ADIO12 Parallel Port Interface (Linux)
gpib.4thLinux GPIB Driver Interface
nigpib.4thInterface to National Instruments Linux GPIB driver
hp34401.4thInterface to the HP34401A Multimeter (Linux)
hp54750.4thInterface to the HP54750 Digitizing Scope (Linux)
sl.4thSemiconductor Laser Rate Equation Solver (instructions)
lk.4thLang-Kobayashi Equation Solver
qm4.4thQuantum Mechanics Demonstrations
henon.4thExplore Chaos in the Henon Map
ogy.4thChaos Control Example Using the Ott-Grebogi-Yorke Method


Source examples for kForth embedded inside of the application xyplot are provided here.


    

Copyright © 1998--2002 Creative Consulting for Research and Education