Conversation
|
FYI to @ronaaron this would help classify files and syntax highlight for 8th sources on GitHub |
lildude
left a comment
There was a problem hiding this comment.
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).
|
@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 😨 |
OK; I have no idea how to create a grammar script for github for 8th. |
lildude
left a comment
There was a problem hiding this comment.
🤦 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.
|
@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 |
|
@Admodius34 Should I remove it? It's unrelated, but it came in from some yaml formatting step in the contributing docs |
Description
Adds the 8th programming language.
8th was first introduced in 2013.
Checklist:
I am adding a new extension to a language.
I am adding a new language.
#96AF3CI am fixing a misclassified language
I am changing the source of a syntax highlighting grammar
I am updating a grammar submodule
I am adding new or changing current functionality
I am changing the color associated with a language