Add highlighting and correct file extensions for TI Program #6688
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.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds highlighting and updates file extensions for the already existing TI Program language in linguist, which was added in #3258.
Description
I've created and added a syntax highlighting grammar for all tokens in the TI-BASIC programming language, which is detected as TI Program by linguist. I've chosen not to change the name TI Program to TI-BASIC as the are a few community-created languages for the TI-83 / 84 Plus family which also fall under the TI Program label, as mentioned in #6295. This grammar applies to those languages as well, as they re-use the same tokens as TI-BASIC, meaning that they can and should still all fall under the TI Program label.
I've also removed the
.8xk
and.8xk.txt
extensionand replaced it with. The.83p
and.83p.txt
, as discussed in #6295.8xk
extension and variants are only used by binary files, not source, meaning that it does not make sense to include them in linguist.I've also added samples for
.8xp
, which currently has no samples.Checklist: