On Thu, Jul 01, 2010 at 01:36:56AM +0300, Adem wrote:
I think these pie in the sky kind of scenarios are several years if
not longer beyond the initial C compiler. It will be a plant that needs
a lot of nurturing and care for a very long term, before it becomes an
alternative, and faces
On Thu, Jul 01, 2010 at 12:17:47AM +0200, Hans-Peter Diettrich wrote:
I've already translated a couple of available C libraries into Pascal,
using ToPas. There exist only a few constructs that do not translate
into Pascal directly (bitfields...), but their addition to the compiler
(code
Adem schrieb:
On 2010-07-01 00:20, Florian Klämpfl wrote:
Same here: What's wrong with considering, say, a new language
back-end (or front-end) much like a new CPU-support?
As Michael said, it is called Pascal. Supporting a new CPU does not
change this. Adding a C/Oberon/Modula whatever
Marco van de Voort schrieb:
On Wed, Jun 30, 2010 at 10:53:39PM +0200, Michael Van Canneyt wrote:
... because it increases the maintainance work on fpc. Even with one
front end only we are almost unable to keep the issue count under
control. I'am pretty sure that more front ends will be
2010/6/30 Adem listmem...@letterboxes.org:
IOW, this sort of thing should be a precondition to such contributions.
Keeping the door ajar (or, at least, not closed) for this sort of thing
would be --IMHO-- a good thing as it is likely to bring on (more) commercial
(and, hence/hopefully more
On 06/30/2010 10:23 PM, Adem wrote:
If you could compile, say, Modula (or C/C++) with FPC, you would have
direct access to a huge time-tested resource of libraries
In fact being able to tightly integrate C code (I can't speak for C++,
as I can't speak it) would be really nice to have. To be
On 2010-07-01 09:23, Marco van de Voort wrote:
There is a difference between hope and dreaming. Be careful that you don't get hung up in
some scenario where you wait for people to come, or wait till the hordes come
and help out in the purest open source spirit.
Somehow that never happens.
On 06/30/2010 10:31 PM, Florian Klämpfl wrote:
This can be done already using compilers supporting these languages
As discussed multiple times it's not possible to share classes between
FP-Pascal and GNU-C++. I don't know it it's possible at all to share
classes between Pascal and C++, even
On Thu, 1 Jul 2010, Hans-Peter Diettrich wrote:
Michael Van Canneyt schrieb:
... because it increases the maintainance work on fpc. Even with one
front end only we are almost unable to keep the issue count under
control. I'am pretty sure that more front ends will be rejected without
more
Michael Schnell schrieb:
On 06/30/2010 10:31 PM, Florian Klämpfl wrote:
This can be done already using compilers supporting these languages
As discussed multiple times it's not possible to share classes between
FP-Pascal and GNU-C++. I don't know it it's possible at all to share
classes
On Thu, Jul 01, 2010 at 08:48:00AM +0200, Florian Klaempfl wrote:
And, frankly, the project is called Free Pascal for a simple reason:
it is a *Pascal* compiler and a *Pascal* project.
I'm sorry. Can't agree with that.
I'm still dreaming of a FreeWirth (though admitted, M2 is so
Hello,
perhaps I'm missing the point but I think it would be a good idea to
enhance swig to create fpc-bindings to C++-Classes. Personally I
think there is no problem with having another C-Compiler.
Regards,
Stephan
--
___
Lazarus mailing list
On 2010-07-01 10:17, Graeme Geldenhuys wrote:
2010/6/30 Ademlistmem...@letterboxes.org:
IOW, this sort of thing should be a precondition to such contributions. Keeping
the door ajar (or, at least, not closed) for this sort of thing would be
--IMHO-- a good thing as it is likely to bring on
On Thu, Jul 01, 2010 at 09:18:06AM +0200, Michael Schnell wrote:
On 06/30/2010 10:23 PM, Adem wrote:
If you could compile, say, Modula (or C/C++) with FPC, you would have
direct access to a huge time-tested resource of libraries
In fact being able to tightly integrate C code (I can't
Michael Schnell schrieb:
On 07/01/2010 08:26 AM, Marco van de Voort wrote:
Since accessing header files is repeated as possible advantage files
again
and again,
In fact I already missed sadly a fully working preprocessor (to be
activated optionally).
Even if FPC supported such a mess,
On 1 July 2010 09:37, Adem listmem...@letterboxes.org wrote:
of owen-fresh code; we're simply talking about some possible/probable future
direction and whether it would be a good idea to make provision for that
Fair enough. Civilised discussions would be nice to see for a change. :-)
But,
On 07/01/2010 10:00 AM, Florian Klaempfl wrote:
Even if FPC supported such a mess, this won't solve the fundamental
problem with C headers: they work only properly if every used header is
compiled for each source file again
Yep. Thats a fundamental philosophy of C. In fact there is a compiler
On Thu, Jul 01, 2010 at 09:34:12AM +0200, Michael Schnell wrote:
On 07/01/2010 08:26 AM, Marco van de Voort wrote:
Since accessing header files is repeated as possible advantage files again
and again,
In fact I already missed sadly a fully working preprocessor (to be
activated
On Thu, Jul 01, 2010 at 10:21:30AM +0200, Michael Schnell wrote:
On 07/01/2010 10:00 AM, Florian Klaempfl wrote:
Even if FPC supported such a mess, this won't solve the fundamental
problem with C headers: they work only properly if every used header is
compiled for each source file again
On 07/01/2010 10:57 AM, Marco van de Voort wrote:
And no other C compiler would be compatible with it, voiding the only
positive aspect of C.
As this is a pure addition to make the code integrate with FP, only
necessary if other FP units are supposed to use this interface (the
linker can do
On 01/07/10 09:57, Marco van de Voort wrote:
Yes, and this is why gcc and most other C compilers have a totally manual
build systems, where you have to manually specify depedancies, so the
compiler can figure out what to recompile.
I just use gcc -MMD in my Makefiles, which generates the
On 07/01/2010 10:51 AM, Marco van de Voort wrote:
Ask yourself why GCC doesn't have preprocessed headers,
I supposed you mean precompiled headers and not headers that are
passed through the preprocessor.
This is according to what I called the C philosophy in the other mail.
Even if this
On Thu, 1 Jul 2010 00:19:34 +0200
Mattias Gaertner nc-gaert...@netcologne.de wrote:
You could have asked the fpc team or put it into one of the many free
repositories. If you put something into lazarus examples then lazarus
users expect a reason for downloading 650KB extra.
If the above is
Henry Vermaak schrieb:
On 01/07/10 09:57, Marco van de Voort wrote:
Yes, and this is why gcc and most other C compilers have a totally manual
build systems, where you have to manually specify depedancies, so the
compiler can figure out what to recompile.
I just use gcc -MMD in my
Michael Schnell schrieb:
On 07/01/2010 10:51 AM, Marco van de Voort wrote:
Ask yourself why GCC doesn't have preprocessed headers,
I supposed you mean precompiled headers and not headers that are
passed through the preprocessor.
This is according to what I called the C philosophy in the
On Thu, Jul 01, 2010 at 11:08:49AM +0200, Michael Schnell wrote:
Ask yourself why GCC doesn't have preprocessed headers,
I supposed you mean precompiled headers and not headers that are
passed through the preprocessor.
This is according to what I called the C philosophy in the other mail.
Michael Schnell schrieb:
On 07/01/2010 10:00 AM, Florian Klaempfl wrote:
Even if FPC supported such a mess, this won't solve the fundamental
problem with C headers: they work only properly if every used header is
compiled for each source file again
Yep. Thats a fundamental philosophy of C.
On 07/01/2010 11:22 AM, Marco van de Voort wrote:
I don't hate C. I use it daily. But I still think it shows that it was never
meant for applications programming(*). For that I think workable doesn't
apply. Survivable maybe, but IMHO not something one would choose if you
could avoid it.
Yep.
On 07/01/2010 11:15 AM, Florian Klaempfl wrote:
... which does not mean that it fits into the Pascal philosophy.
Of course it does not. That exactly was my point.
-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
Michael Schnell schrieb:
On 07/01/2010 11:15 AM, Florian Klaempfl wrote:
... which does not mean that it fits into the Pascal philosophy.
Of course it does not. That exactly was my point.
So it's pretty clear that a C front end does not change much.
--
Marco van de Voort schrieb:
I am curious: Since compilers are your domain, allow me to ask: Do you
think Borland did that (peppering code with '$externalsym xx ' stuff)
because there was not other/better way? And, if you had a truly
compatible C/C++ compiler, would you end up doing that too?
Marco van de Voort schrieb:
On Thu, Jul 01, 2010 at 12:17:47AM +0200, Hans-Peter Diettrich wrote:
I've already translated a couple of available C libraries into Pascal,
using ToPas. There exist only a few constructs that do not translate
into Pascal directly (bitfields...), but their addition
Florian Klaempfl schrieb:
I am not sure about the 'slightest advantage' aspect: I thought MS sold
the .Net thing mostly on the premise of 'write in the language you're
most comfortable yet share with others you/they find useful';
Exactly, sold. It's marketing speech. You could use any
Florian Klaempfl schrieb:
I'm still dreaming of a FreeWirth (though admitted, M2 is so close (both
parsing, modulesystem and language type) that one could regard it as a
dialect.
Aren't you against a e.g. .Net backend because it requires a completely
different runtime :)? I think the same
Michael Schnell schrieb:
In fact I already missed sadly a fully working preprocessor (to be
activated optionally). This does help with Pascal sources from time to
time (in fact I do like macros better than generics :) ).
You could use the scanner/preprocessor part of ToPas, if you want an
Michael Van Canneyt schrieb:
You are missing the point. The point is not DOING it. the point is the
support afterwards. After 15 years of FPC support, I have some experience.
Even now, bugs creep up that are seemingly SO basic:
W : word;
begin
w:=0;
for i:=0 to pred(w) do // What to do ?
Florian Klaempfl schrieb:
In fact I already missed sadly a fully working preprocessor (to be
activated optionally).
Even if FPC supported such a mess, this won't solve the fundamental
problem with C headers: they work only properly if every used header is
compiled for each source file again
Michael Schnell schrieb:
On 06/30/2010 10:23 PM, Adem wrote:
If you could compile, say, Modula (or C/C++) with FPC, you would have
direct access to a huge time-tested resource of libraries
In fact being able to tightly integrate C code (I can't speak for C++,
as I can't speak it) would be
On Thu, 01 Jul 2010 00:54:21 +0200
Hans-Peter Diettrich drdiettri...@aol.com wrote:
For now it's sufficient to discuss the possibilities from the user VP,
that's why I started this thread in the Lazarus list.
Epic fail.
This is the Lazarus users list and not the FPC users list. Why not
Since accessing header files is repeated as possible advantage files
again
and again, how much progress have you made in the opposite direction?
Automated header translation
Sorry, I don't understand your point :-(
The point is: if an additional C front end for fpc could do fully
It's a trap! - Admiral Ackbar
What MS really wants is that you write code in
whatever-language-you-please as long as you run it at THEIR operating
system. Forget Mono and other silly attempts to clone .NET Framework --
they are doomed to always lag behind MS implementation. That's the
On 2010-07-01 11:19, Graeme Geldenhuys wrote:
fpGUI and LCL have very different goals, even though, from a distance, they
look like the same thing.
And, I am sure people get to appreciate their differences once they
spend a little time to understand what they are.
Your fpGUI as well as
Your fpGUI as well as Michael's (Schnell) MSEide+MSEgui and other
Cui honorem, honorem ;-)
His name is Martin Schreiber (MSEide+MSEgui)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On 2010-07-01 12:10, Reimar Grabowski wrote:
On Thu, 1 Jul 2010 00:19:34 +0200
Mattias Gaertnernc-gaert...@netcologne.de wrote
You could have asked the fpc team or put it into one of the many free
repositories. If you put something into lazarus examples then lazarus users
expect a reason
On Thu, 1 Jul 2010, Hans-Peter Diettrich wrote:
Do you seriously expect that things will change, without any feedback? :-(
Perhaps you missed the ToPas documentation, available in a separate download?
I know that this project is very hard to use, due to the dependency on
external resources
On 2010-07-01 20:10, theo wrote:
Your fpGUI as well as Michael's (Schnell) MSEide+MSEgui and other
Cui honorem, honorem ;-)
His name is Martin Schreiber (MSEide+MSEgui)
Thank you for the correction.
I apologize for the typo.
Cheers,
Adem
--
On Thu, 01 Jul 2010 20:12:52 +0300
Adem listmem...@letterboxes.org wrote:
Even though these can come across as nothing to do with Lazarus, they
actually are --if you consider the fact that here in Lazarus list people
are focused on writing applications, i.e. not compiler develeopment,
On 2010-07-01 19:51, Alexsander Rosa wrote:
It's a trap! - Admiral Ackbar
What MS really wants is that you write code in
whatever-language-you-please as long as you run it at THEIR operating
system. Forget Mono and other silly attempts to clone .NET Framework
-- they are doomed to always
On Thu, 1 Jul 2010 19:14:40 +0200 (CEST)
Michael Van Canneyt mich...@freepascal.org wrote:
Well, if you need things to do:
- Make fcl-passrc complete. (*NOT* extract parser from compiler).
+1
R.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting
On 7/1/2010 1:14 PM, Michael Van Canneyt wrote:
- Make fcl-passrc complete. (*NOT* extract parser from compiler).
+1
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Michael Schnell schrieb:
Ask yourself why GCC doesn't have preprocessed headers,
I supposed you mean precompiled headers and not headers that are
passed through the preprocessor.
This is according to what I called the C philosophy in the other mail.
Even if this philosophy is simplistic and
Florian Klaempfl schrieb:
A FP-propriety interface part would be added to the C units to make them
create an FP compatible compiled unit, usable in the normal way by
Pascal units and by the linker.
... and not fully automatable, so not better than current solutions.
Even worse, it does not
On 1 July 2010 18:18, Reimar Grabowski wrote:
Yes, some Lazarus users might be interested in this topic, but that does
not change the fact that this is the wrong list to discuss this, as the
thread clearly shows. Nearly no mention of Lazarus at all.
Lazarus users use FPC! Lazarus doesn't
I love you Graeme. Ever have, ever will. Life would be so empty without you.
Kisses
R.
p.s.: Real men don't use Thunderbird
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in
Hi, I can't log-in to Mantis to report this. Please, if anyone can
access create a report for this.
The bug is this:
When you press CTRL+SPACE after typing an object name in the editor, it
shows its methods and properties (autocompletion, code insight,
you_name_it), that's ok, but, when the user
Hans-Peter Diettrich schrieb:
This is correct, and also is the most important reason for a tighter
integration of C source code into FPC projects.
I cannot see how a tighter integration would solve this.
The compiler can create the required (ppu?) files, when compiling a C
module. That
On 1 July 2010 18:58, Adem wrote:
I will, however, ask whether you thought they were *fair*.
Those suggesting it, did not understand our companies needs. I think I
have explained myself already to a few of the core LCL developers (and
a few others too) so they might have a better understanding
On 2010-07-01 23:22, Florian Klämpfl wrote:
Hans-Peter Diettrich schrieb:
The compiler can create the required (ppu?) files, when compiling a C module. That file
then perfectly reflects all the settings, that affected the code generation of that
module. Only this header version is important
On 1 July 2010 22:06, Reimar Grabowski wrote:
I love you Graeme. Ever have, ever will. Life would be so empty without you.
Kisses
R.
p.s.: Real men don't use Thunderbird
PS: Real men (or any men for that matter) shouldn't send me emails
like the above. My wife doesn't like competition.
On 2010-07-01 20:26, Reimar Grabowski wrote:
On Thu, 01 Jul 2010 20:12:52 +0300
Ademlistmem...@letterboxes.org wrote:
Even though these can come across as nothing to do with Lazarus, they
actually are --if you consider the fact that here in Lazarus list people
are focused on writing
On Thu, 01 Jul 2010 17:09:29 -0300
Leonardo M. Ramé l.r...@griensu.com wrote:
Hi, I can't log-in to Mantis to report this. Please, if anyone can
access create a report for this.
The bug is this:
When you press CTRL+SPACE after typing an object name in the editor, it
shows its methods and
On 2010-07-01 20:14, Michael Van Canneyt wrote:
Well, if you need things to do:
- Make fcl-passrc complete. (*NOT* extract parser from compiler).
I just cannot understand this: What is so holy about the 'parser from
compiler'?
- use it to create a pascal to javascript translator.
- Create a
On Fri, 02 Jul 2010 00:55:27 +0300
Adem listmem...@letterboxes.org wrote:
First of all I apologize for hurting your feelings.
Second, please calm down. This is only a technical mailing list and in my
opinion the wrong one for this discussion.
Further: While doing that, refactor it so that
On Thu, 1 Jul 2010 23:27:43 +0200
Graeme Geldenhuys graemeg.li...@gmail.com wrote:
PS: Real men (or any men for that matter) shouldn't send me emails
like the above. My wife doesn't like competition. :-)
Africa is so far away, I have no fear.
Regarding the thread: No bad feelings, just
On 2010-07-02 02:10, Reimar Grabowski wrote:
On Fri, 02 Jul 2010 00:55:27 +0300
Ademlistmem...@letterboxes.org wrote:
First of all I apologize for hurting your feelings.
No problem. Except for mild disappointment, no harm done.
Second, please calm down. This is only a technical mailing list
On Fri, 02 Jul 2010 03:22:34 +0300
Adem listmem...@letterboxes.org wrote:
As far as I can tell, they both think it will be a tough one (due to
complex and intertwined code) to pull off --especially from POV of speed.
Exactly and it sounds like they think the time and manpower is better spent
El vie, 02-07-2010 a las 00:25 +0200, Mattias Gaertner escribió:
On Thu, 01 Jul 2010 17:09:29 -0300
Leonardo M. Ramé l.r...@griensu.com wrote:
What gtk version do you use?
Can you try to find the svn revision that broke it?
Mattias
My libgtk2.0-0 is 2.20.1-0ubuntu2. Is that what do you
On Thu, Jul 01, 2010 at 08:12:52PM +0300, Adem wrote:
You could have asked the fpc team or put it into one of the many free
repositories. If you put something into lazarus examples then lazarus
users expect a reason for downloading 650KB extra. If the above is the
only reason, then you
On Thu, Jul 01, 2010 at 02:27:22PM +0200, Hans-Peter Diettrich wrote:
Aren't you against a e.g. .Net backend because it requires a completely
different runtime :)? I think the same applies to M2 etc. as well?
IMO we could separate the language itself (syntax) from the RTL (semantics).
Hmm,
On 2010-07-02 07:33, Marco van de Voort wrote:
Besides that, many people (including several that worked on the FPC parser)
have warned you that such a beast, while more elegant on paper, might actually
be harder to maintain than two parsers.
You chose to ignore that.
No.
I did not ignore
On Thu, Jul 01, 2010 at 01:55:43PM +0200, Hans-Peter Diettrich wrote:
the .Net thing mostly on the premise of 'write in the language you're
most comfortable yet share with others you/they find useful';
Exactly, sold. It's marketing speech. You could use any language but
only to a degree
On Thu, Jul 01, 2010 at 06:56:26PM +0200, Hans-Peter Diettrich wrote:
FPC overcomes this problem with the .ppu files (I assume)
No. That is an optimalization. The core feature is defining the unit
concept, and clearing (reinitializing from cmdline params) preprocessor
state
C++ with
72 matches
Mail list logo