Do you know about any, which can specify context-sensitive grammar? For example * symbol pointer/multiplication ambiguity resolving. I am looking for formal language which will make it possible to resolve such ambiguities. The language, which I am looking for should be well specified.
Edit: I am looking for something like BNF, but should be context-sensitive, actually it should be able to solve Dangling else problem.