Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Graeme Geldenhuys
Marco van de Voort het geskryf:
 
 Yes I think so. Pretty much with everything, same with the new RTTI modifier
 stuff in front of a declaration, instead after it. When I asked a question
 about that, they were even surprised I doubted it at all.

Same here... I asked in the non-technical newsgroup. I was brushed of as
 yet another Free Pascal troll. They kept bringing up the point that it
is C# compatible. I don't give a flying f*ck about C#, I use Object
Pascal! Also CodeGear doesn't even do Delphi.NET anymore, so why still
copy .NET  C# syntax.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Graeme Geldenhuys
Alexander Klenin het geskryf:
 
 I agree that syntax is awkward, but I am afraid compatibility is more 
 important
 than better syntax.

Like I told them in the non-technical newsgroup... Compatibility with
what?  C#???  But the language we are talking about is Object Pascal,
NOT C#.

The pascal language generally has modifiers at the end of a declaration.
Now Object Pascal parsers and compilers must all be modified to look for
modifiers infront and after a declaration.  At is purely C# syntax, not
Object Pascal syntax!  Hasn't CodeGear learnt there lesson with .NET yet??

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Burkhard Carstens
Am Montag, 14. September 2009 13:06 schrieb Bernd Kreuss:
 Jürgen Hestermann wrote:
  Are you sure this would be possible?
  Then all other languages coud be added too: ;-)

 Oberon is not just an arbitrary other language, it is Pascals younger
 brother and ALGOL is their mother and it is told that the same guy
 named Wirth was around at ETH Zürich both times when they were
 created.

 I'm not sure how flexible the compiler is and how easy or difficult
 implementing a new frontend would be, not all the languages in your
 list are statically typed so much of them wouldn't make sense at all
 for this compiler, but maybe ALGOL, Modula and Euler would be cool
 also, to make this family of languages more complete.

 And maybe Ada should also be worth thinking about? Ada would be even
 cooler and has a lot more practical applications than Oberon or
 Modula, and maybe even the US DoD would start supporting the ompiler
 ;-)

If I want eggs and Bacon I use my oven, not the engine of my car...

Well, finally, I prefer a toaster that toast my bread perfectly, over 
laptop that also makes coffee.

IOW: I want a perfect pascal compiler, not some chameleon, that does 
1000 things but none of them right.

regards
 B.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Two versions

2009-09-14 Thread Martin

Not sure where it is on the wiki.
Best is to download the source, snapshot or SVN, into a new directory, 
somewhere in your home dir, and compile them there (make)


One very important thing: use --primary-config-path, so they do not 
conflict with each others config.


Also if you are about to use 0.9.28 (0.9.27 at current) you need fpc 2.2.4.

Martin

Santiago A. wrote:

Hello.

My system has installed 0.96 (Ubuntu 8.10) , I would like to install
0.98 both at the same time.

I read somewhere in the wiki  how to have installed both versions. Any hint?

Santiago A.
s...@ciberpiula.net


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Two versions

2009-09-14 Thread Santiago A.
Hello.

My system has installed 0.96 (Ubuntu 8.10) , I would like to install
0.98 both at the same time.

I read somewhere in the wiki  how to have installed both versions. Any hint?

Santiago A.
s...@ciberpiula.net


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Two versions

2009-09-14 Thread Vincent Snijders

Santiago A. schreef:

Hello.

My system has installed 0.96 (Ubuntu 8.10) , I would like to install
0.98 both at the same time.

I read somewhere in the wiki  how to have installed both versions. Any hint?



http://wiki.lazarus.freepascal.org/Multiple_Lazarus

Vincent

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus on Snow Leopard

2009-09-14 Thread Milipili


On Sep 14, 2009, at 6:00 AM, dmitry boyarintsev wrote:


When you get this error, please attach debuger output as well.
You can find it at View - Debug windows - Debug output.

You can launch the application with debugger switched off.
Environment - Debugger - Debuger Type - change to none




Thanks.
Indeed it works well without gdb.

For gdb, I've got this, if it can help :
http://pastebin.com/f3d5c4d38

All windows in View - Debug Windows are empty.



--  
milip...@shikami.org


World gouverned by artificial intelligence often learned a hard  
lesson : Logic does not Care






--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus on Snow Leopard

2009-09-14 Thread dmitry boyarintsev
Please, add your problem and system description, to this bug issue:
http://bugs.freepascal.org/view.php?id=14588

Please, attach a file with the pastebined text as well.

thanks,
dmitry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread black dog

Something that I'd like to see, because I use garbage collected
languages mostly, is trying to get the Boehm memory manager working as
the plugin memory manager.

I've tried to do it and failed because I don't know fpc that well, and
although it seems to work on small tests i can't use the unix
library without a segfault.

I don't think it's worthwhile to argue here the benefits of a
garbage collector as it's well documented, but certainly, FPC offering
such a feature, would help make certain categories of
applications more robust , and imo, have the possibilty of attracting
many more developers, particularly java developers, as you get the
write once compile everywhere and gc which is really all java ever
offered.  

bd


On Sun, 13 Sep 2009 16:46:25 +0200
Graeme Geldenhuys graemeg.li...@gmail.com wrote:

 2009/9/12 Alexander Klenin kle...@gmail.com:
  So I request community for a suitable ideas -- projects should be
  reasonably self-contained, not too hard, require actual coding and
 
 
 Seeing that we are list our wishlists... :-)
 
 *  Full support for implements interface delegation in classes.
 
 * Complete Semaphore support via a TSemaphore class -- like was done
 for TCriticalSection.
 
 
 Regards,
   - Graeme -
 
 
 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/
 
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



-- 
'Perfection is achieved not when there is nothing more to add, but
rather when there is nothing more to take away.'

-- Antoine de Saint-Exupéry

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Alexander Klenin
On Tue, Sep 15, 2009 at 07:24, Marco van de Voortmar...@stack.nl wrote:
 On Mon, Sep 14, 2009 at 02:29:26PM +0200, Graeme Geldenhuys wrote:
 Marco van de Voort het geskryf:
 
  Yes I think so. Pretty much with everything, same with the new RTTI 
  modifier
  stuff in front of a declaration, instead after it. When I asked a question
  about that, they were even surprised I doubted it at all.

 Same here... I asked in the non-technical newsgroup. I was brushed of as
  yet another Free Pascal troll. They kept bringing up the point that it
 is C# compatible. I don't give a flying f*ck about C#, I use Object
 Pascal! Also CodeGear doesn't even do Delphi.NET anymore, so why still
 copy .NET  C# syntax.

 Codegear goes where the public opinion goes, to sell. However the slavish
 following by a lot of the forummembers continues to surprise me.

Is not this the definition of the public opinion? :-)


-- 
Alexander S. Klenin

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Florian Klaempfl
Hans-Peter Diettrich schrieb:
 Florian Klaempfl schrieb:
 
 How does a C front-end affect the Pascal front-end?

 If it doesn't affect it, it has no use or what would you do with macros
 in headers? If they aren't supported in the pascal front end, it makes
 no sense to read them with a C frontend.
 
 [ ] You understand what's a preprocessor

Maybe you should write compilers for 15 years, then we continue, might
be 2024 then.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Hans-Peter Diettrich

Marco van de Voort schrieb:


How does a C front-end affect the Pascal front-end?

If it doesn't affect it, it has no use or what would you do with macros
in headers? If they aren't supported in the pascal front end, it makes
no sense to read them with a C frontend.

[ ] You understand what's a preprocessor


So you are suggesting a preprocessor that reads C and outputs Pascal? :-)


No, this were what ToPas does. Instead I suggest to skip the 
intermediate Pascal code, and to compile the given source code immediately.


DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Hans-Peter Diettrich

Florian Klaempfl schrieb:


Maybe you should write compilers for 15 years


I've written (in fact invented) decompilers for 25 years, and learned a 
lot about compilers this way :-)


DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Hans-Peter Diettrich

Burkhard Carstens schrieb:

IOW: I want a perfect pascal compiler, not some chameleon, that does 
1000 things but none of them right.


gcc has been very successul, with its ability to compile many languages 
(including Pascal!). IMO it only differs from FPC in the OO model, so 
that FPC could play the role of gcc in the world of languages compatible 
with the OPL object model.


DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Request for student project ideas

2009-09-14 Thread Raymond Wilson
GCC is also known for being a good optimizing compiler.

Is it feasible to use some of the optimizing tech from GCC in FPC?

Raymond.

-Original Message-
From: Hans-Peter Diettrich [mailto:drdiettri...@aol.com] 
Sent: Monday, September 14, 2009 3:35 PM
To: Lazarus mailing list
Subject: Re: [Lazarus] Request for student project ideas

Burkhard Carstens schrieb:

 IOW: I want a perfect pascal compiler, not some chameleon, that does 
 1000 things but none of them right.

gcc has been very successul, with its ability to compile many languages 
(including Pascal!). IMO it only differs from FPC in the OO model, so 
that FPC could play the role of gcc in the world of languages compatible

with the OPL object model.

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus