ebnf2railroad icon indicating copy to clipboard operation
ebnf2railroad copied to clipboard

ABNF Support [Feature Request]

Open soulshined opened this issue 4 months ago • 0 comments

Just curious on the what the appetite of supporting ABNF would be? I know this repo has an ebnf focus, but that's why I'm asking.

Depending on your answer I'm willing to contribute resources. Thought I would ask here before going out and doing one from scratch

soulshined avatar Feb 26 '24 00:02 soulshined

Yes please!

Saborknight avatar Mar 12 '17 22:03 Saborknight

I thought installing "Laravel Blade Highlighter" would do the trick. That package installs scopes text.blade text.html.blade for blade. I assumed it would then just a matter of adding the relevant doc URL to your settings for Blade. However, sadly Sublime Text doesn't catch the blade scope, but instead it listens to the HTML scope... I don't know why.

When I run view.settings().get('syntax') I get the correct response: 'Packages/Laravel Blade Highlighter/blade.sublime-syntax' However when I run view.scope_name(view.sel()[0].begin()).rpartition('.')[2].strip() I get the incorrect response 'html'..............

Despite all of this... There isn't any blade documentation which separates into specific sections for the key functions... So what would have to be done is add the documentation without a query, which means the documentation website isn't able to know the word you are looking for...

So basically, due to the official docs not having concise documentation on a function by function basis... it may not be as effective as the rest of the languages this package supports.

Saborknight avatar Mar 12 '17 23:03 Saborknight