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

[REBOL] Re: HTML Dialect?

From: al:bri:xtra at: 11-Jan-2003 11:05

Ed wrote:
> I seem to recall that there is an HTML Dialect out there some where, but I
forget the details.
> Something that works like this: > >> Anchor %Fred.html "Meet Fred Flintstone" > == {<a href="Fred.html">Meet Fred Flinstone</a>} > > Can anyone point me in the right direction?
I used to have one which was exactly like your example, but it grew incapable of handling XHTML, WML, SVG and so on. I now use my ML dialect which works like this:
>> ML compose/deep [
[ a/href %Fred.html "Meet Fred Flintstone" [ ] == {<a href="Fred.html">Meet Fred Flintstone</a>} ML can be found in my %Values.r script which is at: along with my eText dialect, which creates HTML pages from plain text. Here's an eText example:
>> eText {
{ "Meet Fred Flintstone" %Fred.html . { } == [p [a/href "Fred.html" "Meet Fred Flintstone" " ."]] Andrew Martin ICQ: 26227169