Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2011-01-02 Thread Jonas Maebe
On 30 Dec 2010, at 18:09, Jonas Maebe wrote: So I would propose to change the syntax by moving the external modifier to the same location as where sealed and abstract can be placed for Delphi-style classes. It should be quite easy to modify the Objective-C headers parser script to produce

Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2011-01-02 Thread Frank Church
On 2 January 2011 16:00, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 30 Dec 2010, at 18:09, Jonas Maebe wrote: So I would propose to change the syntax by moving the external modifier to the same location as where sealed and abstract can be placed for Delphi-style classes. It should be

Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2011-01-02 Thread Jonas Maebe
On 02 Jan 2011, at 17:07, Frank Church wrote: Is there an Objective-Pascal that is not the same of Object Pascal? http://wiki.freepascal.org/FPC_PasCocoa Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

[fpc-devel] Proposed change in Objective-Pascal syntax

2010-12-30 Thread Jonas Maebe
Hello, Right now, declaring an Objective-Pascal class/protocol/category as external happens in the following way: type { formal external declaration } SomeExternalClass = objcclass; external; { full external declaration } NSObject = objcclass fields and methods end; external name

Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2010-12-30 Thread michael . vancanneyt
On Thu, 30 Dec 2010, Jonas Maebe wrote: Hello, So I would propose to change the syntax by moving the external modifier to the same location as where sealed and abstract can be placed for Delphi-style classes. It should be quite easy to modify the Objective-C headers parser script to

Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2010-12-30 Thread dmitry boyarintsev
The idea seems fine to me. But isn't external a reserved word? thanks, dmitry ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Proposed change in Objective-Pascal syntax

2010-12-30 Thread Jonas Maebe
On 30 Dec 2010, at 19:11, dmitry boyarintsev wrote: The idea seems fine to me. Ok, great! But isn't external a reserved word? No, external can also be used as an identifier. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org