RFC: عمر متغيّر نمط المطابقة — قصرٌ صارم على الذراع في المحرّكين#33
Open
SalehKadah wants to merge 1 commit into
Open
RFC: عمر متغيّر نمط المطابقة — قصرٌ صارم على الذراع في المحرّكين#33SalehKadah wants to merge 1 commit into
SalehKadah wants to merge 1 commit into
Conversation
يعالج ISSUE-079: استعمال اسمٍ مربوطٍ بنمط «طابق» بعد الجملة يُباعد المحرّكين (تباعد صامت). التحقيق الحيّ (٨ حالات) بيّن أنّ المسألة دلاليّة لغويّة غير محسومة في مصدر الحقيقة، لا علّة مترجم أحاديّة: - المفسّر يُعيد إسناد الخارجيّ (جذره VariableManager::define الصاعد = ISSUE-028). - المترجم ثلاثيّ السلوك: بسيط يتسرّب، ADT مباشر مقصورٌ صحيحًا (المعيار مُطبَّق)، قائمة/تعداد-داخل-قائمة ينهار codegen مع خروج 0 صامت. المقترَح: الخيار (أ) — متغيّر النمط يُقصَر على ذراعه، يُظلِّل بلا إعادة إسناد، ويموت بعده (يوافق Rust/Swift/ML؛ والمترجم يطبّقه سلفًا لـADT ⇒ تعميمٌ لا اختراع). يلزمه بندٌ دلاليّ في SoT ثمّ إصلاحان محصوران بالمحرّكين. مدقّق RFC أخضر محلّيًّا. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
الملخّص
حسمٌ دلاليّ لـISSUE-079: عمر متغيّر نمط
طابقبعد الجملة. التحقيق الحيّ (٨ حالات) بيّن أنّها مسألة دلالة لغويّة غير محسومة في مصدر الحقيقة، لا علّة مترجم أحاديّة — لذا تُحسَم عبر RFC قبل أيّ تغييرٍ في المحرّكين.التباعد (صامت)
بعد=42(يُعيد إسناد الخارجيّ؛ جذرهVariableManager::defineالصاعد = ISSUE-028).بعد=0(خروج 0 = نجاح صامت خاطئ).المقترَح — الخيار (أ)
متغيّر النمط يُقصَر على ذراعه، يُظلِّل بلا إعادة إسناد، ويموت بعده (يوافق Rust/Swift/ML). المترجم يطبّقه سلفًا لنمط ADT المباشر ⇒ المطلوب تعميمه لا اختراعه. يلزمه بندٌ دلاليّ في
language-truth/ثمّ إصلاحان محصوران: (المفسّر) ربطٌ محلّيّ فيvisitMatchStmtدون مسّdefineالعامّ؛ (المترجم) وقف تسريب النمط البسيط + توحيد SEM001.المصدر
نتيجةٌ مباشرةٌ لإصلاح ISSUE-078 (PR الكود #161، مدموج) الّذي كشف التباعد أثناء المراجعة العدائيّة. تقرير التحقيق الكامل موثّق داخليًّا، ومُلخَّصٌ في
DISCOVERED_ISSUES.mdتحت ISSUE-079.مدقّق RFC (
lint_rfcs.py) أخضر محلّيًّا.🤖 Generated with Claude Code