[Dwarf-discuss] Proposal: Add support for "property" with getter/setter (based on Pascal properties)

Adrian Prantl aprantl@apple.com
Sun Mar 16 17:36:01 GMT 2025


Thanks! Ron's suggestions are good.

-- adrian

> On Mar 15, 2025, at 4:17 PM, Cary Coutant <ccoutant@gmail.com> wrote:
> 
> Adrian, I took the liberty of applying Ron's minor suggested edits for the non-normative text, and updated the issue.
> 
> -cary
> 
> On Fri, Mar 14, 2025 at 2:06 PM Ron Brender <ron.brender@gmail.com <mailto:ron.brender@gmail.com>> wrote:
>> Adrian et al,
>> 
>> Re 1: OK, not bad. I would tweak a bit farther:
>>  . replace "they are implemented" with "access is implemented"
>>  . replace "both" with "programmed constraints, including".
>> 
>> So the results reads:
>> 
>> [Non-normative] Object-oriented languages like Pascal and Objective-C have properties, which are variable- or data member-like entities of units or classes. Syntactically, properties can be accessed like variables and data members, however,access is implemented by invoking user-defined or compiler-generated subprograms, allowing programmed constraints, including read-only and write-only semantics.
>> 
>> Re 4: Good. I might have used "IP" but what you did is OK too.
>> 
>> Ron
>> 
>> 
>> 
>> On Fri, Mar 14, 2025 at 1:02 PM Adrian Prantl <aprantl@apple.com <mailto:aprantl@apple.com>> wrote:
>>> Here is my suggestion for (1) and (4).
>>> I tried to simplify Ron’s wording a bit. Ron, let me know if you think I went to far :-)
>>> 
>>> -- adrian
>>> 
>>> 
>>> 
>>> 
>>>> On Mar 11, 2025, at 2:15 PM, Cary Coutant via Dwarf-discuss <dwarf-discuss@lists.dwarfstd.org <mailto:dwarf-discuss@lists.dwarfstd.org>> wrote:
>>>> 
>>>> Thanks, Adrian and Ron. I went ahead and applied the grammatical changes Ron suggested (2, 3, 5), but left the more substantive ones (1, 4) for Adrian to address.
>>>> 
>>>> -cary
>>>> 
>>>> On Tue, Mar 11, 2025 at 8:59 AM Ron Brender <ron.brender@gmail.com <mailto:ron.brender@gmail.com>> wrote:
>>>>> Mmore suggested changes are attached...
>>>>> 
>>>>> Ron
>>>>> 
>>>>> 
>>>>> On Mon, Mar 10, 2025 at 12:46 PM Adrian Prantl via Dwarf-discuss <dwarf-discuss@lists.dwarfstd.org <mailto:dwarf-discuss@lists.dwarfstd.org>> wrote:
>>>>>> Here is the latest revision:
>>>>>> 
>>>>>> - Removed Pascal-specific wording from text in 5.19 (field -> data member)
>>>>>> - added updates for Appendix A
>>>>>> - updated Section 7.32 for type signature computation.
>>>>>> 
>>>>>> -- adrian
>>>>>> 
>>>>>> -- 
>>>>>> Dwarf-discuss mailing list
>>>>>> Dwarf-discuss@lists.dwarfstd.org <mailto:Dwarf-discuss@lists.dwarfstd.org>
>>>>>> https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
>>>> -- 
>>>> Dwarf-discuss mailing list
>>>> Dwarf-discuss@lists.dwarfstd.org <mailto:Dwarf-discuss@lists.dwarfstd.org>
>>>> https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss
>>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dwarfstd.org/pipermail/dwarf-discuss/attachments/20250316/96dddada/attachment.htm>


More information about the Dwarf-discuss mailing list