On Fri, 3 Sep 2010, Graeme Geldenhuys wrote:

On 3 September 2010 12:09, Michael Van Canneyt <mich...@freepascal.org> wrote:
Why does FPC still use .pp anyway? That's from FPC pre v1 days (as far
as I remember, from Florian's history lesson).

Nono. .pp is the official Free Pascal source extension.

Oh?  I thought .pp was only used when the language Florian created was
still called Pascal++ and the compiler for that language was FPK.

We support .pas for Dephi/TP compatibility. The compiler uses .pas because
initially it was compiled using TP.

OK, more information added to my history lesson. :-)

Maybe somebody should notify all authors of text editors like Kate,
gEdit etc. to add .pp to the Pascal syntax highlighter filter mask.
gEdit to this day doesn't know how to handle .pp files and I have to
keep modifying it's configs. The same goes for Midnight Commander's
built-in editor. Anyway, I think it's a bit silly using .pp for what
is clearly the Object Pascal language. My 2c.

So you suggest changing it to .op ? :)

pp = Pascal Program makes perfect sense.

Actually, using a different extension has it's use, as Joost pointed out.
Use .pas if you're sharing code with Delphi, use .pp for FPC-only code.

Michael.

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

Reply via email to