bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interactive parsing with Bison


From: Paul Eggert
Subject: Re: Interactive parsing with Bison
Date: Fri, 23 Jun 2006 11:36:30 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Satya <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]