>>> "Joel" == Joel E Denny <[EMAIL PROTECTED]> writes:

 > I was thinking about the syntax of your new %type.  You've been
 > proposing something like:

 >   %type {int} INT

 > Right?

Yep.

 > I don't quite like using {...} to delimit a semantic type.  For
 > example, how would a per-type %destructor/%printer look?

 >   %destructor { free ($$); } {char *} {int *}

 > Seems ugly to me.

Shared opinion :)

 > Why not do something like <{...}>?  So:

 >   %type <{int}> INT
 >   %destructor { free ($$}; } <{char *}> <{int *}>

 > I think it's a little better at least.

I agree.



Reply via email to