Tarot
On a lark I wrote an automatic tarot spread generator. It consist of two pieces: a description file describing the layout of the spread, and a perl script "compiler" that takes the spread layout and generates another perl script which in turn when executed will generate an HTML document using tables for that spread. Perhaps looking at the code itself below will be a bit more illuminating:
spreadc.pl - the spread compiler
script.
tarotbase.inc - required by the
above script
celtic.spread - an example description file for the
celtic cross
celtic.pl - the resulting perl
script
celtic.html - an example run (note
this is not dynamically generated)
pyramid.spread - the description
file for a spread I created myself
pyramid.pl - the resulting perl
script
pyramid.html - an example run (note
this is not dynamically generated)