> I mean if you showed me a yacc grammar for Pascal and another one for Java,
This is why I said "any", and not "all". In most practical cases, you can tell if two grammars are different, but it's easy to construct cases where you can't.
> I mean if you showed me a yacc grammar for Pascal and another one for Java,
This is why I said "any", and not "all". In most practical cases, you can tell if two grammars are different, but it's easy to construct cases where you can't.