Skip to content

M0 foundation razor grammar - #101

Open
joeizang wants to merge 2 commits into
zed-extensions:mainfrom
joeizang:m0-foundation-razor-grammar
Open

M0 foundation razor grammar#101
joeizang wants to merge 2 commits into
zed-extensions:mainfrom
joeizang:m0-foundation-razor-grammar

Conversation

@joeizang

@joeizang joeizang commented Sep 5, 2026

Copy link
Copy Markdown

No description provided.

joeizang and others added 2 commits September 5, 2026 13:50
Rebrand the extension for the fork at joeizang/zed-csharp-plus:

- extension.toml: id csharp-plus, name "C# Plus", description widened to
  cover Razor and .NET project files, repository pointed at the fork.
  Upstream authors retained per the Apache-2.0 notice requirement.
- Cargo.toml/Cargo.lock: crate renamed to zed_csharp_plus.
- README: fork provenance (upstream 88597e1, v1.2.2), migration off the
  upstream "C#" extension, and the upstream-sync workflow.
- BACKLOG.md: roadmap for first-class Razor editing, .NET workflow, and
  project-aware Razor semantics, with the fork recorded as Decision 0.

LICENSE is unmodified.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014LvMtFustJGefLPHSrDRqR
Milestone 0 foundation work (D0.1, M0.1, M0.2, M0.3a):

- D0.1: replace the dead bump_version workflow (Zed-org gated) with the
  manual version-bump convention; add CHANGELOG, sync policy, publishing
  and registry-verification docs.
- M0.1: inventory contract table mapping backlog items to files.
- M0.2 (gate G1): audit the three Razor grammar candidates; fork and
  vendor tris203/tree-sitter-razor @ d4664e4 (MIT) into grammars/.
  Grammar fixes: razor_comment no longer dual-role (extras + node) so
  comments parse at block-body starts; CSS at-rules (@media et al) parse
  as markup with full prelude; attribute values take lambdas and @(...).
  Post-fix: 14/14 well-formed corpus files clean, 79/79 upstream tests.
- M0.3a: 24-file Razor corpus (14 well-formed, 10 pathological).
- scripts/grammar-fitness.py: reproducible fitness measurement.
@cla-bot

cla-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @joeizang on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant