[REBOL] Markup language dialect (browser demo)
From: inetw3::mindspring::com at: 7-Feb-2005 17:45
I posted a Markup language dialect that demonstrates the parsing of HTML
at www.rebol.org under the title of %mdlparser.r
A couple of days after, i noticed Carl had posted a blogg to share his ideas
about a TMD (a text markup dialect) as a Rebol standard.
He shares about the difficulties of positioning text and rebol/view objects
like CSS does with HTML. Have you dealt with this in your browser script?,
if so, how did you go about doing it?
I've noticed that it's much easier to position text and objects if you
rebol/view layouts to be rendered the way sizes and positions in HTML does.
Are we putting carts before horses? because.....
The mdlparser also loads other parsers based on the <!---document ....>
when you load <!---document text/markup-- > thats writtnen like the TMD, it
be viewed by Rebol/view. You dont have to group things in blocks though.
It looks something like this.....
[p gold black left "Hickory dickory Doc" bold red "the"; italic green gray
ran up the clock
The attributes don't have to b inline as long as the Para has an ID: or you
a CSS before hand.
It seems that no matter how anyone slices and dices a viewed dialect, it has
some what marked up just the way html tags does with CSS if you want it to
shared by editors and browser in a web enviroment, but this does'nt mean
So do we quit while we are ahead, and let Carl standardize some things
try to make something that not even we will use in the end?