RFC: تمرير بيانات الحدث (EventData) لردود نداء الواجهة في المترجم (②)#46
Open
SalehKadah wants to merge 2 commits into
Open
RFC: تمرير بيانات الحدث (EventData) لردود نداء الواجهة في المترجم (②)#46SalehKadah wants to merge 2 commits into
SalehKadah wants to merge 2 commits into
Conversation
ردود نداء الأحداث في المترجم تُستدعى بلا موضع/دلتا المؤشّر؛ بنية EventData موجودة في وقت التشغيل لكن لا تعبر الحدّ إلى ص. توسيع توقيع ردود النداء وتوليد المترجم لها لتمرير الموضع/الدلتا — يمكّن سحب النوافذ والتفاعل المكانيّ بمنطق ص خالص. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
② EventData نُفِّذت في المترجم والمفسّر: بنية «حدث» بـ19 حقلًا مشتقّة من SoT، ثانك واعٍ بالأرية يبنيها من POD، تكافؤ المحرّكين. جولتا مراجعة خصميّة، بناء أخضر. ديون التفرّع (خ-11) وتعداد نوع الحدث (خ-12) تُسجَّلان كـRFCي متابعة. Co-Authored-By: Claude Opus 4.8 <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.
ملخّص
ردود نداء أحداث الواجهة (مثل
عند_النقر) في المترجمsadcتُستدعى بلا بيانات الحدث: لا إحداثيّات ولا دلتا. بنيةEventData{x,y,deltaX,deltaY}موجودةٌ في وقت التشغيل لكنّها لا تعبر الحدّ إلى ص. يوسّع هذا المقترح توقيع ردود النداء وتوليد المترجم لها لتمريرEventData.الدافع
سحب شريط عنوان النافذة (FR-009) يحتاج معرفة موضع المؤشّر ودلتا حركته في منطق ص؛ دون ذلك يتسرّب منطق السحب حتمًا إلى C++ (كسر قيد المنطق-في-ص).
الأثر
أضخم الثلاثة أثرًا على المترجم. مقترحان شقيقان: مدمَج الوقت_الحالي، ومدمجات نظام الملفّات في المترجم.
🤖 Generated with Claude Code