Commit 423d6f5
docs: Linguist classification + Language Identity roadmap section
Two connected changes resolving the ".twasm files show up as blank text
to GitHub Linguist" problem:
.gitattributes:
- Add *.twasm mapping to WebAssembly via linguist-language override, so
the six example .twasm files classify deterministically on GitHub
instead of being heuristic-guessed as C/C++/JavaScript based on their
// comment prefix.
- Add previously-missing *.zig, *.idr, *.idr2, *.ipkg entries so Zig FFI
code and Idris2 ABI code also classify correctly.
ROADMAP.adoc:
- New "Language Identity & Linguist Classification" section documenting
the current .twasm=WebAssembly override, the rationale (Linguist has
no Typed WebAssembly entry), and the path to a distinct Linguist
submission at v1.0. Includes the list of preconditions for upstream
Linguist submission: stable tree-sitter grammar, adoption evidence,
nesting-vs-top-level decision, PR cycle.
- New adjacent-tooling section identifying that the grammar port, the
tree-sitter repo, the LSP server, the editor plugins, and the Linguist
submission all share a single blocker (porting spec/grammar.ebnf to
tree-sitter), so they're recorded together.
- Cross-references added from the Future section to the new Language
Identity section so scattered TODOs no longer look independent.
Trade-off noted: claiming WebAssembly in .gitattributes under-claims the
typed-ness (readers see WebAssembly, not Typed WebAssembly). Acceptable
for a pre-alpha research repo; unacceptable at v1.0. The roadmap section
captures the upgrade path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a47c1c4 commit 423d6f5
2 files changed
Lines changed: 78 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
75 | 138 | | |
76 | 139 | | |
77 | 140 | | |
78 | | - | |
79 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
0 commit comments