[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] %language declaration
From: |
Akim Demaille |
Subject: |
Re: [RFC] %language declaration |
Date: |
Thu, 14 Sep 2006 14:25:36 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
>>> "Tim" == Tim Van Holder <address@hidden> writes:
> Well, since the actions are written in the target language, and bison
> supports multiple languages, it makes sense to have a %language
> directive, imho.
That's exactly what I fear. I have already received comments from
Perl users who disliked the uses of $ and @ in the actions. One
proposal for Python was also suggested during Google Summer of Code,
and I wonder how the input should look like.
> Ideally skeletons should be required to declare their language, so
> that using "--skeleton lalr1.cc" or "--skeleton
> my-erlang-parser.skeleton" on a grammar with "%language java" would
> produce a bison-time warning/error.
Well, that seems like a pretty weak feature to my eyes. Actually we
could also require the user to pass twice the name of the skeleton to
make sure there is no mistakes. Of course I'm kidding, but not that
much either.
- [RFC] %language declaration, Paolo Bonzini, 2006/09/11
- Re: [RFC] %language declaration, Paolo Bonzini, 2006/09/11
- Re: [RFC] %language declaration, Paul Eggert, 2006/09/11
- Re: [RFC] %language declaration, Akim Demaille, 2006/09/14
- Re: [RFC] %language declaration, Paolo Bonzini, 2006/09/14
- Re: [RFC] %language declaration, Akim Demaille, 2006/09/14
- Re: [RFC] %language declaration, Paolo Bonzini, 2006/09/14
- Re: [RFC] %language declaration, Akim Demaille, 2006/09/14
- Re: [RFC] %language declaration, Paolo Bonzini, 2006/09/15
- Re: [RFC] %language declaration, Tim Van Holder, 2006/09/14
- Re: [RFC] %language declaration,
Akim Demaille <=
Re: [RFC] %language declaration, Tim Van Holder, 2006/09/14