[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding out when a token is consumed
From: |
Hans Aberg |
Subject: |
Re: Finding out when a token is consumed |
Date: |
Wed, 14 May 2003 10:11:57 +0200 |
At 00:50 +0200 2003/05/14, Frank Heckenbach wrote:
>> The segment is from my C++ skeleton file, which then uses C++ names,
>>clearly.
>>
>> Therefore, one has to look for a more general way to describe the feature
>> one wants, and then let it be translated via the M4 approach into the
>> various skeleton files.
>
>Well, I'm not really familiar with alternative skeletons or with the
>difference between C and C++ names, so I guess I'm out of it here. I
>feel that it should be quite possible to get this information in a
>general way (with the exception for GLR and maybe similar parsers),
>but for the details I don't know anough of bison's internals.
One should probably invent some universal .y file feature, like say the $$
are. Then that can be implemented as M4 macros, which each skeleton file
then can use.
>> If you now have a good example how to use it, you might try it out
>> practically, and then report your findings back here.
>
>Only the example code in my original mail (which seems to work, but
>hasn't been used in practice).
I think that when working with it in practise one will see what works. I
will do it myself if future permits.
Hans Aberg
- Re: Finding out when a token is consumed, (continued)
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/10
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/10
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/10
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/10
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/11
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/11
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/12
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/12
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/13
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/13
- Re: Finding out when a token is consumed,
Hans Aberg <=
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/14
- Re: Finding out when a token is consumed, Hans Aberg, 2003/05/15
- include files in bison parser, Vitaliy Ziskin, 2003/05/10
- Re: include files in bison parser, Hans Aberg, 2003/05/10
Re: Finding out when a token is consumed, David Fletcher, 2003/05/09