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

[REBOL] Re: parse, again...

From: ingo:2b1 at: 2-Nov-2001 9:26

Hi Hallvard, Once upon a time Hallvard Ystad spoketh thus:
> Thanks, Ingo. Now the fact is, the 'html-code rule I presented here is a > pretty simplified one. The one I _really_ use triggers different functions > depending on _what_ tag I get. It's 41 lines long. Since both 'load and > 'parse are natvie, I doubt there would be any performance gain on changing > to load/markup (and adding the code to trigger actions for different tags > elsewhere). Or??
I created an html viewer this way, used load/markup, then when I found a tag I parsed it to get a block like this: [tag-name param1 value1 param2 ... ] I don't know about runtime performance, but code-time performance seemed pretty good to me ;-) Anyway, if you're interested, it's at http://www.h-o-h.org/browser.r kind regards, Ingo