General Discussion > Miscellaneous

Name for all TI-8x languages

(1/2) > >>

ClrDraw:
Ayyyyeeee everybody, I'm back for a quick question!

So I have my code on GitHub for most of my calculator projects. I noticed that GitHub didn't automatically identify code written for the TI-84 calculator like it does for most languages. So, I forked the official GitHub source code and manually added an entry for .8xk and .8xp programs. Since it's based on file extension rather than syntax, that means that this one entry is for TI-BASIC, Axe, z80 assembly, etc all combined into one, rather than any specific language. But I need a single name for it as if it were one language.

Any ideas? Basically I need a name to describe all .8xk and .8xp programming languages. I'm currently leaning towards "TI PRGM", "TI Calc", "TI Code", or something similar ;)

Sorunome:
Perhaps you could make it guess the file type based on the content, that way you could differentiate between Axe, Asm and TI-Basic

ClrDraw:
Ideally that's what I'd do, except making my own grammar and making it comply with GitHub's rules is more work than I'd like. Not to mention a language needs several hundred existing repositories before it can be officially added, and I'm not sure there would be enough if I split into sub-languages.


Edit: Plus the library GitHub uses can't parse binary files, only text, so reading the contents of .8xp files would be impossible.

ClrDraw:
The pull request was merged! TI programs are now recognized on GitHub. Because GitHub's language recognition software doesn't recognize binary files, if you want the code to be recognized it has to be a text file with the extension ".8xp.txt"  ;)

Eeems:
8xp isn't a binary file though technically. You should just update your gitattributes file to mark 8xp files as text files:

--- Code: ---*.8xp diff

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version