Skip to content

Add 8th Language#7531

Open
booniepepper wants to merge 1 commit intogithub-linguist:mainfrom
booniepepper:main
Open

Add 8th Language#7531
booniepepper wants to merge 1 commit intogithub-linguist:mainfrom
booniepepper:main

Conversation

@booniepepper
Copy link

@booniepepper booniepepper commented Aug 16, 2025

Description

Adds the 8th programming language.

8th was first introduced in 2013.

Checklist:

  • I am adding a new extension to a language.

    • The new extension is used in hundreds of repositories on GitHub.com
    • I have included a real-world usage sample for all extensions added in this PR:
      • Sample source(s):
        • [URL to each sample source, if applicable]
      • Sample license(s):
    • I have included a change to the heuristics to distinguish my language from others using the same extension.
  • I am adding a new language.

    • The extension of the new language is used in hundreds of repositories on GitHub.com.
    • I have included a real-world usage sample for all extensions added in this PR:
    • I have included a syntax highlighting grammar: [URL to grammar repo]
    • I have added a color
      • Hex value: #96AF3C
      • Rationale: This is the primary color of the language logo from the 8th website, and has been in use for >10 years now.
    • I have updated the heuristics to distinguish my language from others using the same extension.
  • I am fixing a misclassified language

    • I have included a new sample for the misclassified language:
      • Sample source(s):
        • [URL to each sample source, if applicable]
      • Sample license(s):
    • I have included a change to the heuristics to distinguish my language from others using the same extension.
  • I am changing the source of a syntax highlighting grammar

    • Old: [URL to grammar repo]
    • New: [URL to grammar repo]
  • I am updating a grammar submodule

  • I am adding new or changing current functionality

    • I have added or updated the tests for the new or changed functionality.
  • I am changing the color associated with a language

    • I have obtained agreement from the wider language community on this color change.
      • [URL to public discussion]
      • [Optional: URL to official branding guidelines for the language]

@booniepepper booniepepper requested a review from a team as a code owner August 16, 2025 07:03
@booniepepper
Copy link
Author

FYI to @ronaaron this would help classify files and syntax highlight for 8th sources on GitHub

Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the instructions in the CONTRIBUTING.md file for adding a language. (Tip: you need to add the grammar using the script/add-grammar script).

@booniepepper
Copy link
Author

@lildude Sorry that's my mistake, I was working locally then moved to a git workspace. Looks like I skipped step 2 in the process 😨

@booniepepper booniepepper requested a review from lildude August 16, 2025 07:22
@ronaaron
Copy link

FYI to @ronaaron this would help classify files and syntax highlight for 8th sources on GitHub

OK; I have no idea how to create a grammar script for github for 8th.
I also hadn't the slightest idea there were that many repos with 8th code...

Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 sorry. I missed this is using the same grammar as Forth. We don’t need a duplicate grammar, we just need the line in the README.md.

@booniepepper
Copy link
Author

booniepepper commented Aug 18, 2025

@lildude No worries I'll try to get it back to what it was before

@ronaaron Sorry this was meant more as an FYI that we may be able to get categorization and syntax highlighting for 8th soon. You don't need to do anything here, I'll handle it.

For the grammar, I'm going to stick with Forth for now. In the future we could add a more complete grammar, since there are some syntactic differences (like first-class JSON support) that could be highlighted better. In practice so far, I've seen that a Forth grammar works fine

@booniepepper
Copy link
Author

@Admodius34 Should I remove it? It's unrelated, but it came in from some yaml formatting step in the contributing docs

@github-linguist github-linguist deleted a comment Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants