aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/examples/readme.txt
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/examples/readme.txt')
-rw-r--r--amforth-6.5/examples/readme.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/amforth-6.5/examples/readme.txt b/amforth-6.5/examples/readme.txt
new file mode 100644
index 0000000..940d913
--- /dev/null
+++ b/amforth-6.5/examples/readme.txt
@@ -0,0 +1,37 @@
+This folder contains some example codes not
+related to any application.
+
+easter.frt: calculates the date of easter. almost unmodfied version
+ of Will Baden's code
+
+fib.frt: simple benchmark. calculate a fibonacci number using
+ different algorithm.
+
+sieve.frt: not-so simple benchmark modelled after the sieve code
+ of Marcel Hendrix. Uses single bits to store the is-prim flag.
+
+run-hayes.frt: demonstrate the use of the amforth-upload.py utility
+ and the special #include syntax. The test itself is a slightly
+ modified HAYES test suite
+
+queens.frt: solves the queens problem for various size, maybe useful
+ as a benchmark.
+
+ascii.frt: prints an ascii table on screen
+
+life.frt: Conveys game of life. Its very memory intensive, the example
+ code works on an Atmega16, but a bigger one would allow larger
+ worlds.
+
+string-rec.frt: converts a " delimited string into a printable,
+ compilable and postponable text object. It replaces the s" command.
+
+sierpinski.frt: simple fractal generator. Illustrates the use of
+ the amforth-shell to include library files.
+
+co.frt: co routines aka subroutines for nonpreemtive multitasking.
+ Examples on how to use them are included.
+
+many.frt: Repeat the input line until a key is hit. Use it with care
+ since it can cause a lot of trouble. Since the input line is re-parsed
+ every time, it is much slower than a compiled word.