Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2015-11

Beautifier for freepascal

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

G.W. Herbold

I am happy owner of an old Version OREGON PASCAL Compiler (running under Unix 68...), who has also a splendid Beautifier included.

With this excellent tool is it possible to get a very clear output of the printed .pas Programme Especially are the begin and end signs in such a manner arranged so that errors can be very easily found.

Is there any plan to create such a very helpful tool???

By the way the price for a.m Compiler+ Beautifier was ca.5000.- DM in 1986! Kind regards G.W.Herbold

Reply by email

Jonas Maebe
to G.W. Herbold
G.W. Herbold wrote
Is there any plan to create such a very helpful tool???

FPC comes with the "ptop" tool that can be used to format/beatify your code. The Lazarus IDE (http://www.lazarus-ide.org ) also comes with a built-in code formatter.

Jonas

PS: please mention in the mails you send that you are not subscribed, so people replying know that they have to CC you. While it happens automatically for the direct replies since you added a Reply-To header, that's not the case for replies further down the thread.

Reply by email

Graeme Geldenhuys
to G.W. Herbold: I am happy owner of an old Version OREGON PASCAL Compiler (running under Unix 68...),…
G.W. Herbold wrote
Is there any plan to create such a very helpful tool???

As Jonas mentioned, there is "ptop" included with FPC. I've had some good usage of it in the past, but I don't know how much development it still receives (I should check the commit history).

Also, as mentioned, Lazarus includes a code formatter too. It is in fact a copy of the Jedi Code Formatter, found on SourceForge.net. If you don't use Lazarus, you can download JCF as a stand-alone tool from SourceForge [http://sourceforge.net/projects/jedicodeformat/]. The nice think about the stand-alone version is that they include three executables. Two GUI's (useful for configuring the formatter) and a command line tool. For years I have been using the command line tool (even under Linux and FreeBSD via WINE).

I have come across a few more over the years, but I can't remember there names off the top of my head now.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email