Maybe I don't know how to search for it exactly or I'm just unexperienced enough not to recognize it when I see it in other examples out there, but how to I make GrammarKit parse the example below properly:
import ab "demo"
My problem is trying to parse things like:
- ab "demo"
- "demo" should be ok but " demo" shouldn't be ok
- "demo" should be ok but "demo _CR/LF_ another_line" shouldn't be ok (where _CR/LF_ means new line).
What I've got so far can be seen here: https://github.com/dlsniper/golang-idea/blob/master/src/com/dlsniper/golang/GoLang.bnf