Skip to content

Conversation

@DecimalTurn
Copy link
Contributor

@DecimalTurn DecimalTurn commented Oct 31, 2025

Description

This PR adds the .bi extension which can be interpreted as "BASIC include" file used inside certain versions of BASIC like in this case for QuickBASIC (and FreeBASIC).

Note that the estimation of the number of files is a little difficult here because the heurisitcs we used for QuickBASIC are case-sensitive, but GitHub search is case-insensitive. For that reason, I've included an upper and lower bound for the estimation of the number of files. The upper bound might include FreeBASIC files that would normally not be detected as QuickBASIC since they don't have the right casing, but it's hard to tell by how much.

Checklist:

@DecimalTurn DecimalTurn requested a review from a team as a code owner October 31, 2025 01:21
@DecimalTurn DecimalTurn changed the title Add .bi extension to QuickBASIC Add .bi extension to QuickBASIC Oct 31, 2025
@lildude
Copy link
Member

lildude commented Oct 31, 2025

GitHub search is case-insensitive

You can get around this by using a regex

@DecimalTurn
Copy link
Contributor Author

Unfortunately, no.
Even with a regex, you can't get case-sensitive results.

Eg.: the following still returns lowercase results even when asking for uppercase matches: https://github.com/search?q=%2FTEST%2F&type=code

@lildude
Copy link
Member

lildude commented Oct 31, 2025

Even with a regex, you can't get case-sensitive results.

Sure you can: https://github.com/search?q=%2F%28%3F-i%3ATEST%29%2F&type=code

@DecimalTurn
Copy link
Contributor Author

shocked-surprised.gif

@DecimalTurn
Copy link
Contributor Author

I've updated the search query with the case-sensitive regex and the count is now at 2k files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants