Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-19 Thread Florian Klämpfl
Am 17.07.2015 um 11:53 schrieb Sven Barth: Modes are per-unit anyway. So even if the Generics.Collection would only in this proposed mode you would still be able to use it in other modes (at least if generics are supported, e.g. for ISO In ISO mode the uses keyword is turned off, so you

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-18 Thread Marco van de Voort
In our previous episode, Maciej Izak said: Anyway during working on compiler if some language elements oxygene flavored are not so complex and can be added ad hoc, IMO they should be added. I think you'll find the need for ARC or GC on every feature you implement.

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread silvioprog
On Fri, Jul 17, 2015 at 4:00 AM, Maciej Izak hnb.c...@gmail.com wrote: New modern Pascal dialect is subject of this topic. Is any way to get branch for new pascal dialect and for generics.collections improvements? For me ObjFPC is too much conservative and Delphi after XE2 version, really

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Jonas Maebe
Maciej Izak wrote: 2015-07-17 15:03 GMT+02:00 Marco van de Voort: IMHO the whole point of generics.collections is that its usage is Delphi compatible. Not at all. Big part of interface is compatible. It's good designed. FPC Generics.Collections implementation is very different and

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
If delphi has a unit called generics.collections and then we introduce a unit with the same name, it should have the same interface and functionality (except where not possible due to cross-platform concerns etc). Same interface and functionality is priority of the library. But it's not

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Marco van de Voort
In our previous episode, Maciej Izak said: Do you mean your Generics.Collections would compile only with the new mode? Sounds very bad to me. Using the Generics.Collections does not impose the use of {$MODE GenPas}. I am working on set of MODESWITCHs. As mentioned above in my previous

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
2015-07-17 15:03 GMT+02:00 Marco van de Voort: IMHO the whole point of generics.collections is that its usage is Delphi compatible. Not at all. Big part of interface is compatible. It's good designed. FPC Generics.Collections implementation is very different and extended. Delphi

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Michael Van Canneyt
On Fri, 17 Jul 2015, Maciej Izak wrote: New modern Pascal dialect is subject of this topic. Is any way to get branch for new pascal dialect and for generics.collections improvements? For me ObjFPC is too much conservative and Delphi after XE2 version, really sucks, so $MODE Delphi is not

[fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
New modern Pascal dialect is subject of this topic. Is any way to get branch for new pascal dialect and for generics.collections improvements? For me ObjFPC is too much conservative and Delphi after XE2 version, really sucks, so $MODE Delphi is not option. I think is good idea to discuss new

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Michael Schnell
On 07/17/2015 09:00 AM, Maciej Izak wrote: I think is good idea to discuss new dialect. The Code-aware String implementation could be much better than as well in Delphi as in fpc, but this only makes sense when the TStrings type (and it's descendents) and the interface to many libraries are

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
2015-07-17 9:10 GMT+02:00 Michael Van Canneyt: I think you better choose some more neutral name: GenPas or so. IMO GenPas is good name. You are free to do so, no-one will stop you. Your work will surely be integrated. But I advise against it: The Pascal community is splintered as it is:

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Marco van de Voort
In our previous episode, Maciej Izak said: New modern Pascal dialect is subject of this topic. Modern is a very vague term, and more a matter of taste. Is any way to get branch for new pascal dialect and for generics.collections improvements? For me ObjFPC is too much conservative and

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Michael Van Canneyt
On Fri, 17 Jul 2015, Maciej Izak wrote: 2015-07-17 9:10 GMT+02:00 Michael Van Canneyt: I think you better choose some more neutral name: GenPas or so. IMO GenPas is good name. I have my moments of inspiration ;)   You are free to do so, no-one will stop you. Your work will

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Paul van Helden
On Fri, Jul 17, 2015 at 4:09 PM, silvioprog silviop...@gmail.com wrote: I don't know if a new dialect would be widely accepted by all developers (specially veteran pascal programmers), but if it could become things more practical and more productive, I would be in favor of just {$ mode

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Steve Hildebrandt
Am 17.07.2015 um 09:36 schrieb Michael Van Canneyt: On Fri, 17 Jul 2015, Maciej Izak wrote: 2015-07-17 9:10 GMT+02:00 Michael Van Canneyt: I think you better choose some more neutral name: GenPas or so. IMO GenPas is good name. I have my moments of inspiration ;) You

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Juha Manninen
On Fri, Jul 17, 2015 at 10:00 AM, Maciej Izak hnb.c...@gmail.com wrote: New modern Pascal dialect is subject of this topic. Do you mean your Generics.Collections would compile only with the new mode? Sounds very bad to me. Juha ___ fpc-devel maillist

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
@Michal, @Marco Right, I will start from set of MODESWITCHs. 2015-07-17 9:59 GMT+02:00 Marco van de Voort: Modern is a very vague term, and more a matter of taste. But what does it actually prohibit ? Not agreeing with Delphi design choices is as old as Delphi itself. Subjective matter.

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
2015-07-17 11:33 GMT+02:00 Juha Manninen: Do you mean your Generics.Collections would compile only with the new mode? Sounds very bad to me. Using the Generics.Collections does not impose the use of {$MODE GenPas}. I am working on set of MODESWITCHs. As mentioned above in my previous e-mail

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Dmitry Boyarintsev
On Fri, Jul 17, 2015 at 11:44 AM, Paul van Helden p...@planetgis.co.za wrote: The Oxygene dialect is absolutely beautiful in my opinion. Lots of things in there that I've been wanting for decades and many stupid things dropped completely. Silly example: var declarations when you need them like

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
2015-07-17 9:00 GMT+02:00 Maciej Izak hnb.c...@gmail.com: New modern Pascal dialect is subject of this topic. Btw. More 2009-XE2 compatibility level is minimum (best times for Delphi language when Barry Kelly was on the Embarcadero board). This is start point, and solid base to introducing new

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Dmitry Boyarintsev
On Fri, Jul 17, 2015 at 1:53 PM, Maciej Izak hnb.c...@gmail.com wrote: Proposed mode is not proposed as default pascal mode. You are safe :P. You will be able to using classic pascal forever. So what is the problem? Is it better to spend compiler-development time to such staff as improving

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Dmitry Boyarintsev
On Fri, Jul 17, 2015 at 2:03 PM, Maciej Izak hnb.c...@gmail.com wrote: 2015-07-17 17:44 GMT+02:00 Paul van Helden The world is looking for a new language. That is why we recently got Google's Go and Apple's Swift. I believe a modern and clean dialect of Object Pascal has a leg-up on both of

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
2015-07-17 19:32 GMT+02:00 Dmitry Boyarintsev skalogryz.li...@gmail.com: What's the point of waiting FPC update then? Isn't it better just to stop using FPC, convert the source code to Oxygen and use Oxygene instead? When all new syntax features are added to default pascal mode, I'll have

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread Maciej Izak
2015-07-17 17:44 GMT+02:00 Paul van Helden Veteran Pascal programmer here... I haven't really started using it yet, but I read through the whole Oxygene documentation the other day. (Didn't take long ;-) ) The Oxygene dialect is absolutely beautiful in my opinion. Lots of things in there

Re: [fpc-devel] New FPC language/dialect MODE, Generics.Collections and new branch

2015-07-17 Thread micsch
Am Friday 17 July 2015 21:23:58 schrieb Maciej Izak: litle OT: . When Barry Kelly left company, AFAIK somewhere after XE2 times they hired NEW compiler team in Romania to cut costs... Rudi and Nick are still active in the Newsgroups there so no hope is lost ;) They will tell us all the time that