Re: "nested" languages

2005-06-28 Thread Hans Aberg
At 11:40 +1000 2005/06/28, Neil Conway wrote: I'm trying to use Bison to construct a parser for a language A that needs to allow syntax from a second language B to be embedded within it (at well-defined positions within A). For example, suppose a production from the grammar of A is: i

Re: "nested" languages

2005-06-28 Thread Laurence Finston
On Tue, 28 Jun 2005, Neil Conway wrote: > I'm trying to use Bison to construct a parser for a language A that > needs to allow syntax from a second language B to be embedded within it [...] > Ideally I'd like to have A's parser > "call into" B's parser, have it accept as much input as it can, an