Hello, I try to develop a `C´-like indent progam for GPC and Pascal written in pascal with the GPC. I read in the ToDo-List for the GPC that there is no indent program. So I have two questions: 1. If there is anybody who is creating such a program like this now, and ... 2. How can I contribute to the GPC project with my program?
Of course, please don't think the program is ready. I was born yesterday night and there are nothing more as a few lines (program ... begin ... end. ;-)))) ). But they will grow up. The name for the ready program is 'pindent' with serval command-line switches (they will coming up step-by-step) and in the future I will try to port the program into a FreeVision- and/or GTK-style where the user can see the result of the original file in a second window after processing with pindent.
Thorsten Hindermann Thorsten.Hindermann@arcormail.de
Hello!
Thorsten Hindermann wrote:
- How can I contribute to the GPC project with my program?
(I mailed the "paper war" requirements in private email.)
The name for the ready program is 'pindent' with serval command-line switches (they will coming up step-by-step)
(You are aware of GetOpt, I suppose ...)
and in the future I will try to port the program into a FreeVision- and/or GTK-style where the user can see the result of the original file in a second window after processing with pindent.
I recomend to keep the command-line interface and to implement the GUI as a separate program. Through the command-line interface the utility can be used as a filter from many different other programs.
Another thingy: Frank, I and others have half-ready specifications of Pascal coding standards - in analogy to the GNU coding standards for C. It should be possible to invoke `pindent' in a way that it produces output of that kind.
Thanks for your contributions (-:
Peter