[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: |
Thu, 15 May 2003 10:20:24 +0200 |
At 03:17 +0200 2003/05/15, Frank Heckenbach wrote:
>> 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.
>
>Perhaps. (Though I'm still not quite sure what's the problem with
>predefined names such as yychar, or why the C++ skeleton uses
>different names.)
Only that C++ uses different idioms than C, and it has become common in C++
to write out fuller names, prefixes like "yy" can instead be handled by the
C++ "namespace" feature, etc. When thinking of adding other output
languages than just C and C++, the output naming conventions might become
even more diverse.
>> >> 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.
>
>If you have any questions about it in the future, yuo can mail me
>personally. I might unsubscribe from this list sometime.
If you have some good suggestions or patches, it is better you report it to
the Bison lists. If will do likewise, if I figure out something.
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/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, 2003/05/14
- Re: Finding out when a token is consumed, Frank Heckenbach, 2003/05/14
- Re: Finding out when a token is consumed,
Hans Aberg <=
- 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