At 6:56 PM +0000 3/12/10, karl ramberg wrote:
On Fri, Mar 12, 2010 at 7:45 AM, Ted Kaehler <[email protected]> wrote:
 >      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


This is very interesting.
How do you organize and manage these rule boxes when you have 37 or
more of them ?

Turn to the proper page in the essay and see all the explanation there.
They are in "logical" order.
All of the methods in LWordWrapLayout come from rules.  If you
browse that class, you see all of the rules as Squeak code.
The active essay needs a table of contents that is a list of the rules.
Or, we could make a specialized rule browser to see them in When...Do...
format.

Do they collapse into a browser or some other other structure?

And how do you debug the rules?

They are Squeak methods.  If we go far with this, we may want end-user-
friendly debugging tools.

A value pane on the side of each of them with all the temp and
instance vars, and a step button would be nice.

Yes.


Karl


 --Ted.

--
Ted Kaehler http://tedkaehler.weather-dimensions.com/us/ted/index.html My Essay, "A Trip to the Store for Bread and Milk, Cellphone Spying, Tracking and Privacy" is available for 99 cents on the Amazon Kindle. You can get it on the iPhone and Windows. Download the Kindle reader app. In the app search for "Ted Kaehler".

_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to