Re: [fpc-pascal] fpDebug extension for Visual Studio Code

2020-05-20 Thread Martin Frb
Ok, here are some of my ideas/hopes/dreams/wishes for the IDE They are all "ideas only", with on knowledge of when/if they may be done. I provide them, in the hope they will help choosing a path for the backend. The IDE should receive a "TWatchWhateverValue" from any of the backend, that

Re: [fpc-pascal] Custom attributes

2020-05-20 Thread Jonas Maebe
On 20/05/2020 15:55, Fabio Luis Girardi via fpc-pascal wrote: > FPC compiler has a define when custom attributes are present?  > > Something like FPC_HAS_CONSTREF, to say when constref is available... In general, such defines are only added if they are required for bootstrapping. For the same

Re: [fpc-pascal] fpDebug extension for Visual Studio Code

2020-05-20 Thread Martin Frb
On 20/05/2020 19:54, Martin Frb wrote: If you look at using FpDebug directly, then you use TFpValue. (returned by PascalParser, or any Parser you want to add) All you need is to encapsulate PascalBuilder into a class. And stick the value and the builder into yet another object, holding both of

Re: [fpc-pascal] fpDebug extension for Visual Studio Code

2020-05-20 Thread Martin Frb
On 20/05/2020 17:50, Joost van der Sluis wrote: I was very disappointed when i (re?)-discovered that fpDebug has a dependency on DebuggerIntf. It is a bit of a catch22: - On the one hand, FpDebug is/should be stand alone. - On the other hand, it would be a pity to have to copy all the used

Re: [fpc-pascal] fpDebug extension for Visual Studio Code

2020-05-20 Thread Joost van der Sluis
Seems like the first message did not make it to the list. Maybe because of the attachments... Retry: Op 19-05-2020 om 16:42 schreef Martin Frb: On 19/05/2020 15:55, Joost van der Sluis wrote: It is not documented, and, to be honest, only name, value and type are being used now. It is just a

[fpc-pascal] Custom attributes

2020-05-20 Thread Fabio Luis Girardi via fpc-pascal
Hi! FPC compiler has a define when custom attributes are present? Something like FPC_HAS_CONSTREF, to say when constref is available... -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com

Re: [fpc-pascal] Delphi TService

2020-05-20 Thread Michael Van Canneyt
On Wed, 20 May 2020, Marco van de Voort wrote: Does somebody have a compatible TService somewhere for dual compilation Delphi/Lazarus purposes? There is daemonapp, but that seems to be incompatible, but maybe it can be wrapped? It can be easily wrapped. The only difference is that the

[fpc-pascal] Delphi TService

2020-05-20 Thread Marco van de Voort
Does somebody have a compatible TService somewhere for dual compilation Delphi/Lazarus purposes? There is daemonapp, but that seems to be incompatible, but maybe it can be wrapped? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org