{"id":50551219,"url":"https://github.com/tokamaster/vscode_endf","last_synced_at":"2026-06-04T03:30:27.983Z","repository":{"id":359196790,"uuid":"1244017050","full_name":"tokamaster/vscode_endf","owner":"tokamaster","description":"VS Code syntax highlighting and hover help for ENDF/ENDF-6 evaluated nuclear data files","archived":false,"fork":false,"pushed_at":"2026-05-20T19:57:24.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-21T01:27:59.699Z","etag":null,"topics":["endf","nuclear-data","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tokamaster.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T22:17:23.000Z","updated_at":"2026-05-20T19:57:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tokamaster/vscode_endf","commit_stats":null,"previous_names":["tokamaster/vscode_endf"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tokamaster/vscode_endf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokamaster%2Fvscode_endf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokamaster%2Fvscode_endf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokamaster%2Fvscode_endf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokamaster%2Fvscode_endf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tokamaster","download_url":"https://codeload.github.com/tokamaster/vscode_endf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokamaster%2Fvscode_endf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33888302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["endf","nuclear-data","vscode-extension"],"created_at":"2026-06-04T03:30:27.480Z","updated_at":"2026-06-04T03:30:27.975Z","avatar_url":"https://github.com/tokamaster.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ENDF Syntax Highlighting\n\nSyntax highlighting for ENDF and ENDF-6 evaluated nuclear data files in VS Code.\n\nThis extension helps inspect fixed-width ENDF records by contributing a\nlanguage id, a TextMate grammar, and a small runtime hover provider. It is\nintentionally lightweight: there is no parser, diagnostics engine, language\nserver, or network dependency.\n\n## Supported Files\n\nVS Code recognizes these extensions as ENDF by default:\n\n- `.endf`\n- `.endf6`\n- `.pendf`\n- `.gendf`\n- `.tape`\n\nIt also recognizes ENDF-like `.dat` files through ENDF-specific filename\npatterns such as `*endf*.dat`, `*pendf*.dat`, and `*gendf*.dat`. Generic `.dat`\nfiles are not claimed by extension alone; files with no specific extension can\nstill be detected when the first line has an ENDF-like fixed-column tail.\n\n## Highlighting Model\n\nENDF records are fixed-width cards. The grammar treats each line as:\n\n- columns 1-66: payload fields\n- columns 67-70: `MAT`\n- columns 71-72: `MF`\n- columns 73-75: `MT`\n- columns 76-80: optional sequence number (`NS`)\n\nBoth 75-column records, where the sequence number is omitted, and standard\n80-column records are supported.\n\nThe grammar highlights:\n\n- fixed-width numeric payload fields, including ENDF implicit-exponent values\n  such as `3.007000+3`\n- integer control fields\n- `MAT`, `MF`, `MT`, and optional `NS` tail columns\n- `SEND`, `FEND`, `MEND`, and `TEND` structural end records\n- `MF ...`, `MT ...`, `MF=...`, and `MT=...` references in descriptive text\n\n## Number Meanings\n\nWhen the cursor, selection, or hover is on a recognized ENDF number, the\nextension explains the fixed-column meaning. Selection and cursor movement update\nthe status bar; hover shows the fuller explanation.\n\n- payload fields in columns 1-66 are identified as `C1`, `C2`, `L1`, `L2`,\n  `N1`, or `N2`, with parsed ENDF implicit-exponent values\n- tail fields in columns 67-80 are identified as `MAT`, `MF`, `MT`, and `NS`\n- common `MF` and `MT` numbers are expanded to their ENDF-6 descriptions\n- textual references such as `MF=3`, `MF3`, `MF 12`, `MT=102`, `MT1`, and\n  `MT=52-82` are also explained\n\nPayload field meanings are often record-specific, so the hover reports the\nreliable fixed-field role unless a standard `MF`/`MT` code description applies.\n\n## Local Testing\n\nOpen this folder in VS Code and press `F5`, or run **Run Extension** from the\nRun and Debug view. In the Extension Development Host, open a local ENDF test\nfile; VS Code should select the `ENDF` language mode automatically for supported\nextensions and ENDF-like fixed-column first lines.\n\nUseful sample checks:\n\n- line 2: ENDF numeric `HEAD`-style fields and `MAT/MF/MT` tail\n- lines 18-19: descriptive `MF 12` / `MT 102` text\n- lines 456-457: `SEND` and `FEND`\n- lines 5505-5506: `MEND` and `TEND`\n\nUse **Developer: Inspect Editor Tokens and Scopes** in VS Code to inspect the\nactual TextMate scopes assigned to a token.\n\n## Install From Source\n\nClone the repository and package the extension locally:\n\n```shell\nnpx @vscode/vsce package --no-dependencies\ncode --install-extension endf-syntax-0.0.1.vsix\n```\n\nLocal sample ENDF files used for development checks are ignored by git and are\nnot included in the packaged extension.\n\n## Development\n\nThe extension entry point is `extension.js`, the language contribution is\ndeclared in `package.json`, and the TextMate grammar is in\n`syntaxes/endf.tmLanguage.json`.\n\nTo test changes, open the repository in VS Code and use the provided\n`.vscode/launch.json` configuration. Reload the Extension Development Host\nafter grammar or runtime edits.\n\n## Issues\n\nPlease report bugs and syntax highlighting gaps at\nhttps://github.com/tokamaster/vscode_endf/issues.\n\n## License\n\nThis project is released under the MIT License. See `LICENSE` for details.\n\n## References\n\n- [IAEA ENDF-6 format overview](https://www-nds.iaea.org/public/endf/)\n- [ENDF-6 Formats Manual, ENDF-102 PDF](https://www-nds.iaea.org/nrdc/nrdc_doc/bnl-90365-2009-rev2.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokamaster%2Fvscode_endf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftokamaster%2Fvscode_endf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokamaster%2Fvscode_endf/lists"}