Folks,
The tasks are to explain the goal of a program clearly enough
to be easily grasped by a person, and precise enough that it is a
runnable specification.
Here is an example of a specification that reads like an essay,
but is also a computer program that runs. It is the complete
specification of text layout with word-wrap, and it includes the
commands of an editor on that text.
http://www.vpri.org/pdf/m2010002_lobjects.pdf
The PDF is best viewed with the zoom set to "actual size".
In this example, we lean toward the "Literate Programming"
approach. This "Text Field Specification" active essay is one of
many STEPS experiments at VPRI.
Please forgive the shortcomings of this active essay. As you
well know, creating a good explanation and running code at the same
time is not easy.
--Ted.
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc