Satya <[EMAIL PROTECTED]> writes:

> 2. Implement a debugging interface in bison that can talk to such IDE
> /debugging tools. This interface can then evolve with Bison;

This sounds like a better idea.  One should be able to hook Bison up
to Emacs gud-mode, for example; or to Eclipse.

> Also there are a number of challenges in building such an IDE. For a
> start, we cant execute semantic actions while test-parsing;

Right, that would be the normal case.

> How would we simulate cases where the lexer needs to examine the
> symbol table for supplying tokens ?  (possible answer: we don't).

We could let the user selectively execute parts of semantic
actions, by giving them a value that their actions could inspect.
This is a bit like how $(MAKE) works when you type 'make -n'.


Reply via email to