Closed sudo-suhas closed 7 years ago
What would be the advantages compared to currently passing it in a hash?
Correct me if I am wrong but isn't the hash used for anchors for the parsed grammar? I am trying to specify the grammar file via url.
I apologise. I should have tried one of the example files loaded via URL.
That's a good point though, having it as query param would allow links to also point to specific grammar rule.
Hmm.. I didn't think of that. Would be nice to have. I don't need it though.
Maybe you could have a line or so explaining how to specify file in URL? Just an example should be sufficient.
Is it possible to specify the grammar file to be loaded using query parameter? It's easier to share links that way.