Re: [fpc-pascal] Advantage Tdataset Components: Compilation error

2017-05-03 Thread Marek
Solved. /version 11/ Is Advantage TDataSet Descendant /adstable,adcconnecton,addsettings/ free ? (with advantage local serwer - , table fox pro/cdx/ ? -- View this message in context:

[fpc-pascal] Advantage Tdataset Components: Compilation error

2017-05-03 Thread Marek
When i compiling adsl.lpk: Compile package adsl 10.10: Exit code 1, Errors: 1, Warnings: 15, Hints: 1 adsdesign.pas(50,5) Warning: Illegal identifier "UNSAFE_TYPE" for $WARN directive adsdesign.pas(51,5) Warning: Illegal identifier "UNSAFE_CODE" for $WARN directive adsdesign.pas(52,5) Warning:

Re: [fpc-pascal] Can fpdoc insert macro values or compiler version information?

2017-05-03 Thread Graeme Geldenhuys
On 2017-05-03 17:44, Michael Van Canneyt wrote: > No, because it does not know this information. It has no way of knowing. > At best it knows the version of FPC that fpdoc itself was compiled with. I thought that much [after I sent my email]. > I deliberately do not wish to support this. > >

Re: [fpc-pascal] Can fpdoc insert macro values or compiler version information?

2017-05-03 Thread Michael Van Canneyt
On Wed, 3 May 2017, Graeme Geldenhuys wrote: Hi, Does FPDOC have the ability to inject the compiler version into RTL and FCL documentation? Something like FPC's macro variables or something. No, because it does not know this information. It has no way of knowing. At best it knows the

[fpc-pascal] Can fpdoc insert macro values or compiler version information?

2017-05-03 Thread Graeme Geldenhuys
Hi, Does FPDOC have the ability to inject the compiler version into RTL and FCL documentation? Something like FPC's macro variables or something. eg: in the RTL Package Overview contents? eg: Inside the "Description" content of this page: https://www.freepascal.org/docs-html/rtl/ The

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-03 Thread Marco van de Voort
In our previous episode, Marco van de Voort said: > > Does such grammar exist? > > Not within FPC/Lazarus project, since those use handcrafted recursive > descent parsers. So that means websearch, and then your search is as good as > mine. > > The manual of older Delphi versions had a grammar

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-03 Thread Peter
On 03/05/17 00:53, Marc Santhoff wrote: > Hi, > > for playing around I would need a grammar of Object Pascal. I do not > care for which tool it is written or at best if it is plain EBNF. > > Does such grammar exist? > > TIA, > Marc > > > ___ >

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-03 Thread Michael Van Canneyt
On Wed, 3 May 2017, denisgolovan wrote: On 2017-05-03 00:53, Marc Santhoff wrote:  Does such grammar exist? Well, it depends on what you are trying to solve. If you want to parse Pascal using FPC - that's one way. If you want to get some king of AST using any available [command-line]

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-03 Thread denisgolovan
> On 2017-05-03 00:53, Marc Santhoff wrote: >>  Does such grammar exist? Well, it depends on what you are trying to solve. If you want to parse Pascal using FPC - that's one way. If you want to get some king of AST using any available [command-line] tools - that's another one. Talking about

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-03 Thread Graeme Geldenhuys
On 2017-05-03 00:53, Marc Santhoff wrote: > Does such grammar exist? Not as part of the Free Pascal project. At one stage I have been maintaining my own Pascal Grammar in EBNF format as part of the documentation for fpGUI, but I haven’t kept up with all the recent FPC syntax changes though - no

Re: [fpc-pascal] machine readable grammar of object pascal?

2017-05-03 Thread Marco van de Voort
In our previous episode, Marc Santhoff said: > for playing around I would need a grammar of Object Pascal. I do not > care for which tool it is written or at best if it is plain EBNF. > > Does such grammar exist? Not within FPC/Lazarus project, since those use handcrafted recursive descent