Ceci est une ancienne révision du document !
In my early days of IT, one of the many languages I programmed in was Pascal. In my Windows days, I did play around with Delphi, but never really did much with it, and have really lost most of my knowledge of Pascal. Lazarus is a RAD tool (rapid application development) for the Free Pascal compiler. It is available for Linux, OS X, and Windows. Lazarus is designed to be somewhat compatible with Delphi for Windows, but it is not a complete clone. Free Pascal uses a similar dialect for Object Pascal as Delphi. As you can see, Lazarus looks like many modern RAD tools, and it works the same. You create applications by designing your forms and attaching your event code for the various controls. It provides a visual form designer, object inspector, code editor, code completion, and debugger. For those of you unfamiliar with Pascal, here (above right) is a small sample (console based). Besides all of the standard controls that you can add to your forms – such as text fields, labels, buttons, and checkboxes, Lazarus includes components to access various databases, access XML files, use HTML help files, produce charts, and many more. You can also create console applications with Lazarus. When you choose to create a new project, a dialog box will pop up asking for the type of project.
Quand j'ai commencé dans l'informatique, un des nombreux langages dans lequel j'ai programmé était le Pascal. Pendant ma période Windows, j'ai joué avec Delphi, mais n'ai jamais vraiment rien fait avec lui, et j'ai vraiment perdu la plupart de mes connaissances en Pascal.
Lazarus est un outil RAD (développement rapide d'applications) du compilateur Free Pascal. Il est disponible pour Linux, OS X et Windows. Lazarus est conçu pour être quelque peu compatible avec Delphi pour Windows, mais ce n'est pas un clone complet. Free Pascal utilise un dialecte pour Object Pascal analogue à celui de Delphi.
Installing Lazarus Don't use the Ubuntu Software Center to get the files. It is several versions behind. You need to download three files from Sourceforge: For the 32-bit files: http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DEB/Lazarus%201.0.8/. For the 64-bit files: http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.0.8/ You can then install them with the software center, synaptic, or gdebi. I have the impression they need to be installed in the following order: fpc fpc-src lazarus
Pros: • An excellent RAD/IDE to create your own applications. • With the appropriate tools installed, you can compile a Windows version of your application under Linux. • Good for Delphi programmers looking to move to Linux. Cons: • None found yet. You may be asking “Why learn a dead language like Pascal?” While I agree that Pascal is not very popular, it is far from dead. I worked on mainframes and minicomputers for many, many years using Fortran, COBOL, and RPG. Pundits had these languages killed off years ago but they are still alive and thriving. I will agree however that Pascal is not in the mainstream. Languages like C/C++, Python, Ruby and Microsoft's Visual Basic/.Net are way ahead, Pascal is a clean, easy to use, and fun language. If you want something to learn with, or to get your feet wet using a decent RAD tool, Lazarus/Free Pascal is great to start with, and it's free. Useful links: Free Pascal project: http://www.freepascal.org/ Lazarus: http://www.lazarus.freepascal.org/ Books for learning Lazarus/Free Pascal: http://rimrocksoftware.com/zips/Rapid_Application_Development_in_Linux_Using_Lazarus.pdf