[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive parsing with Bison
From: |
Richard Stallman |
Subject: |
Re: Interactive parsing with Bison |
Date: |
Sat, 24 Jun 2006 19:23:53 -0400 |
How about making GDB act as the interface for debugging Bison
grammars? GDB already has an IDE, through Emacs.
Another idea occurs to me: generate a function for each state, just to
have a place to put a breakpoint corresponding to that state. Right
now, Bison generates code for each rule, and that's all. That makes
grammars compact, which is good for ordinary execution. However,
having a piece of code for each state could facilitate using GDB as
the debugging interface.
The function's source code could hold whatever information you want
to present about that state, for debugging purposes.
By continuing this idea, maybe you could set it up so that any C debugger
is a good debugger for Bison parsers.
- Re: Interactive parsing with Bison, (continued)
- Re: Interactive parsing with Bison, Hans Aberg, 2006/06/29
- Re: Interactive parsing with Bison, Frans Englich, 2006/06/29
- Re: Interactive parsing with Bison, Hans Aberg, 2006/06/29
- Re: Interactive parsing with Bison, Richard Stallman, 2006/06/29
- Re: Interactive parsing with Bison, Paul Eggert, 2006/06/30
- Re: Interactive parsing with Bison, Richard Stallman, 2006/06/30
Re: Interactive parsing with Bison,
Richard Stallman <=
- Re: Interactive parsing with Bison, Hans Aberg, 2006/06/25
- Re: Interactive parsing with Bison, Richard Stallman, 2006/06/26
- Re: Interactive parsing with Bison, Satya, 2006/06/26
- Re: Interactive parsing with Bison, Hans Aberg, 2006/06/26
- Re: Interactive parsing with Bison, Satya, 2006/06/26
- Re: Interactive parsing with Bison, Hans Aberg, 2006/06/27
Re: Interactive parsing with Bison, Richard Stallman, 2006/06/27
Re: Interactive parsing with Bison, Hans Aberg, 2006/06/27
Re: Interactive parsing with Bison, Richard Stallman, 2006/06/28
Re: Interactive parsing with Bison, Hans Aberg, 2006/06/29