>>> "Tim" == Tim Van Holder <[EMAIL PROTECTED]> 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.



Reply via email to