|
From: | Satya |
Subject: | Re: Interactive parsing with Bison |
Date: | Fri, 23 Jun 2006 16:01:10 -0500 |
Basically, it allows bison to generate a parser that parses 1 token at a time. You feed it the tokens one at a time, and it updates the parser until you've parsed everything.
Really good! Such a parsing algorithm can be used by the IDE to simulate a test-parse; so you interface the parser with a parse context I see. This tool called 'Anagram' also implements such an Idea. They call it an 'event driven' parser. In Anagram, you can communicate with the parser through a data stucture called a PCB (parser control block); Satya.
[Prev in Thread] | Current Thread | [Next in Thread] |