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

[REBOL] Re: [REBOL Internals] question

From: robert:muench:robertmuench at: 27-Mar-2004 9:47

On Fri, 26 Mar 2004 14:55:50 -0500, Gerard Cote <[gerardcote--sympatico--ca]> wrote:
> I also saw the mark: and :mark notation used by the parse word. It > already permits this kind of manip but where is kept the internal > representation of the actual running script and what can be done with it > ?
Hi, as parse being a native! it does quite some magiv behind the scenes. It's the only (?) dialect not written with Rebol, which is logical because you would need a parse ;-). So the parse dialect just assigns the current position in the script to your mark: and restores is with :mark.
> I think I would have to look at depth in the system object to get more > answers but this can take a lot of time to do so... and I am > not yet well prepared ebough for this at the moment - may be later.
I don't expect that parse offers something from the internals. But I can be wrong. I strongly suggest that you look into Gabriele's compile-rule dialect. It helps a lot when writing more complex parsers. Robert