summaryrefslogtreecommitdiff
path: root/miralib/ex/README
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-03-04 12:32:20 -0500
committerJakob Kaivo <jkk@ung.org>2022-03-04 12:32:20 -0500
commit55f277e77428d7423ae906a8e1f1324d35b07a7d (patch)
tree5c1c04703dff89c46b349025d2d3ec88ea9b3819 /miralib/ex/README
import Miranda 2.066 from upstream
Diffstat (limited to 'miralib/ex/README')
-rw-r--r--miralib/ex/README54
1 files changed, 54 insertions, 0 deletions
diff --git a/miralib/ex/README b/miralib/ex/README
new file mode 100644
index 0000000..3a68794
--- /dev/null
+++ b/miralib/ex/README
@@ -0,0 +1,54 @@
+This directory contains a (fairly random) collection of simple scripts
+written in Miranda. To try one out (eg fibs.m) say
+ mira fibs
+as a UNIX command - or if you are already inside a Miranda session, say
+ /f fibs
+to make (e.g.) fibs.m your current script. To get into this directory,
+while in a Miranda session, say
+ /cd <ex>
+
+Each script has some explanatory comments in it. To read the current
+script from within a Miranda session say
+ /e
+which invokes the editor on the current script. The scripts are listed
+in groups, with some more advanced examples towards the end. The ones
+marked (*) may be useful as libraries.
+
+ack.m the ackermann function
+divmodtest.m tests properties of div and mod
+fibs.m tabulates fibonacci numbers
+hanoi.m solves the problem `towers of hanoi'
+powers.m prints a table of powers
+primes.m infinite list of prime numbers
+pyths.m generates pythagorean triangles
+
+hamming.m prints hamming numbers
+queens.m all solutions to the eight queens problem
+queens1.m finds one solution to the eight queens problem
+quicksort.m Miranda definition of quicksort
+selflines.m curiosity - a self describing scroll of lines
+stack.m defines stack as an abstract data type
+treesort.m Miranda definition of treesort
+
+parafs.m Enumerates isomers of alkanes in pictorial form
+graphics.m Rectangular graphics package used by parafs.m
+keith.m Checks that floating point overflow is trapped
+barry.m Math calculations that stress the garbage collector
+bigscript.m Tests gc during compilation
+makebig.m Creates bigscript.m of any chosen size
+
+edigits.m infinite decimal expansion of the digits of `e' (literate script)
+rational.m package for doing rational arithmetic (*)
+refoliate.m a tree problem (literate script)
+topsort.m topological sort
+matrix.m matrix package (*)
+set.m defines set as an abstract data type (*)
+kate.lit.m a Miranda script that is also a LaTeX source file
+
+genmat.m parameterised version of matrix package (*)
+just.m text formatting program
+mrev (executable) Miranda version of the UNIX `rev' command
+box.m (executable) program for reboxing Miranda comments
+box symbolic link to box.m
+polish.m testbed for unify.m
+unify.m package for doing 1st order unification (*)