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

[REBOL] Re: relative expressions

From: greggirwin:mindspring at: 3-Apr-2003 13:15

Hi Brett, BH> Yes establishing a useful context for the data is critical. If we were to BH> parse this information in REBOL we would possibly need a system that could BH> "switch in" dialect interpreters as required. Of course then we need to know BH> *what* to switch in. Right, which is where REBOL saves us again. These dialects can be passed around and shared as data. Now, maybe we create a dialect-interchange dialect that various processes can use, so the header/meta part of a dialect is loaded by the main processor and that gives him the clues to look for about when to apply that dialect. I'm not sure, though, how you'd handle things like a "confidence" rating of how well something parsed versus just pass/fail. BH> I can certainly understand replacing the actions behind a dialect, but if we BH> were to put a different dialect over the same set of actions would it be BH> better to call the set of actions a library or module or api? Probably so. The dialect is just a friendly interface to some underlying functionality.
>> PARSE itself is amazing, but imagine what we can build on top of it!
BH> I am, thats the problem, my imagination far exceeds my ability and my BH> current reality! Me too. :\ -- Gregg