The dialect would be an interface to the HTML objects.

The dialect must be reflective of everything you can do in HTML.
The objects make it easier to generate HTML
table things like 90 day calendars or 1 year calendar.

Does the dialect allow you to embed or recurs several levels of tables?
Example: tables inside of tables inside of tables?

This already works with my code today and is very easy.
Providing a dialect interface to a set of robust object models would make it
even easier.
The robust object model

table1: new-table "90 day Calendar"
table-A:  new-table "January"
table-B: new-table "February"
table-C: new-table "March"

; code here to fill in calendars
; shows 90 days at a glance on the web-page

table1/append-row [  (table-A/self-gen)  (table-B/selfgen)  (table-C/self-gen) ]

; fill in 4 more rows and you can display the whole year.

This is just one "real world" example.




From: [EMAIL PROTECTED] on 12/02/99 08:21 AM GMT



Please respond to [EMAIL PROTECTED]



To:   [EMAIL PROTECTED]
cc:    (bcc: Doug Vos)
Subject:  [REBOL] A very cool tool for HTML documenting rebol scripts (that will
      make you drool.) Re:(2)




[EMAIL PROTECTED] wrote:
> The third reason is that even after I make something,
> I find out 2 months later that it can be greatly improved.

     I find this too. Usually it comes with greater understanding.

> I already know it embeds the self-gen func in all objects, but so
what? Do you know how to improve it??

Turn it into a dialect, perhaps?

Andrew Martin
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
Online @ 33,600 Baud!
-><-



Reply via email to