Add Befunge samples and .bf heuristics #5210
Open
+70
−2
Conversation
Added heuristics for `.bf` extension. Added the `.bf` extension to Befunge. Added the following Befunge-93 samples: * aturley.bf by Andrew Turley (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/aturley.bf * beer7.bf by Wim Rijnders (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/beer7.bf * befunge3.bf by Ben Olmstead (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/befunge3.bf * cascade.bf by Chris Pressey (CC0 license), fetched from https://github.com/catseye/Befunge-93/blob/master/eg/cascade.bf And Befunge-98: * mycorand.bf by Matti Niemenmaa (MIT license), fetched from https://github.com/Deewiant/Mycology/blob/master/mycorand.bf
Although |
- extensions: ['.bf'] | ||
rules: | ||
- language: Beef | ||
pattern: '^using\s+(System|Beefy)(\.(.*))?;\s*$' |
Nixinova
Feb 15, 2021
•
Contributor
Wouldn't just ^using\s+(System|Beefy)
work fine? (Same logic for 3 lines down as well.) Also should there be a \s*
before using
?
Wouldn't just ^using\s+(System|Beefy)
work fine? (Same logic for 3 lines down as well.) Also should there be a \s*
before using
?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Description
Added heuristics for
.bf
extension.Added the
.bf
extension to Befunge.Added the following Befunge-93 samples:
And Befunge-98:
For future reference: I have not included the (rarer) extensions
.b93
and.b98
, but there are samples for it under liberal licenses here:Checklist: