Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Markup language dialect (browser demo)

From: inetw3::mindspring::com at: 7-Feb-2005 17:45

Hello Izkata, I posted a Markup language dialect that demonstrates the parsing of HTML at 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 inline like CSS does with HTML. Have you dealt with this in your browser script?, and if so, how did you go about doing it? I've noticed that it's much easier to position text and objects if you allow 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 ....> type. when you load <!---document text/markup-- > thats writtnen like the TMD, it will 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 mouse ; ran up the clock ] The attributes don't have to b inline as long as the Para has an ID: or you use a CSS before hand. It seems that no matter how anyone slices and dices a viewed dialect, it has to be some what marked up just the way html tags does with CSS if you want it to be shared by editors and browser in a web enviroment, but this does'nt mean with tags though. So do we quit while we are ahead, and let Carl standardize some things first, or try to make something that not even we will use in the end?