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

2024-10-07 Thread Martin via Dwarf-discuss
On 07/10/2024 22:40, Augusto Noronha wrote: Streaming as a language construct (and controlling whether a property should be streamable or not) seems like a pretty Pascal specific feature, maybe this could be a Pascal extension? Or probably be moved to RTTI, of which I have not yet evaluated

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

2024-10-07 Thread Augusto Noronha via Dwarf-discuss
> FreePascal and Delphi have RTTI, which allows accessing data. One use case is > streaming of a class (well the published part of it). > This is for example used for GUI apps where the properties of a designed GUI > (form, buttons, ..) are streamed so the runtime can load them. But also ORM >

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

2024-10-07 Thread Martin via Dwarf-discuss
On 04/10/2024 21:56, Augusto Noronha via Dwarf-discuss wrote: Hi Martin, Could you explain what a Pascal-style stored accessor is or link to a reference to it? I tried looking it up but couldn’t find anything relevant. https://www.freepascal.org/docs-html/ref/refsu38.html FreePascal and Del