Discuter:Pascal (langage)

Un article de Wikipédia, l'encyclopédie libre.

Uses crt; var i:integer; begin clrscr, gotoxy(35,2); writeln('tableau de puissances'); gotoxy(5,4); writeln('valeur'); gotoxy(30,4); writeln('carré'); gotoxy(65,4); writeln('cube'); for i=1 to 20 do begin gotoxy(5,i+4); write(i); gotoxy(30,4+i); writeln(i*i); gotoxy(65,i+4); writeln(i*i*i); end readln; end

[modifier] Fichiers sources

Attention les informations donnés dans ce paragraphe ne sont pas valables pour tout les compilateur ! Il ne faut pas confondre le langage pascal avec Delphi. Ces information ont une raison d'exister dans l'article Delphi mais elles sont au moins incomplète ici. Il y a deux options :

  • Supprimer une partie du paragraphe
  • Utilisé des sous paragraphe pour chaque compilateur en tachant d'être exhaustif

--Fatalerrors 20 juin 2007 à 16h07 (CEST)

Modifications terminés la deuxième option à été retenue.--Fatalerrors 28 juin 2007 à 19:22 (CEST)

[modifier] Issues

Sorry for doing this in Anglais, but I only have first year French at my disposal. This article is needs badly to be restated in a NEUTRAL point of view. As it is, it is simply an article on Borland language products. The problem is, that this is one vendor specific, proprietary language. It is also not compatible with the original Pascal as created by Niklaus Wirth, and as standardized by ISO 7185 (under Wirths' guidance). Borland Pascal certainly has a place, but that is on a separate web page.

The article needs to be extensively reviewed. Please use the Anglais version for reference, several people have worked hard to keep that version neutral.

Il est vrais que la page parle beaucoup du Pascal de Borland cependant :
1) Borland a largement influencé le language de maniere a ce que le Pascal actuel, c'est a dire quand on utilise un compilateur moderne, soit conforme au extention Borland.
2) La partie histoire retrace les origines du Pascal. Elle reste certes a étoffer.
3) Une grosse partie parle d'autres compilateurs et versions du langage (FPC, Lazarus, GNU Pascal...) et précise la compatibilité entre eux. Etant donné que Borland fixe la cadence les autres compilateurs ont tendance a se conformer aux spécifications de Borland, d'ou les comparaisons fréquentes.
4) Un paragraphe sur les spécifications ISO du Pascal "standard" serais le bienvenue ;-)
Pour finir le couple Lazarus/FPC integre ses propres extentions en plus de celles de Borland. Il serait bon d'en parler. --Fatalerrors (don't worry) 26 novembre 2007 à 13:53 (CET)

To your points, again in English, since I don't think you would appreciate my French:

1. Sure, but that means it gets put on a Borland page. For example, nobody considers C and C++ to be the same language. The other issue is that Borland Pascal is highly incompatible with original Pascal. The reason Borland "pascal" is now called Delphi is in part because it increasingly looks nothing like Pascal. The proper why to go about it is the way the english pages are arranged, which is a main page that goes though the history and language, certainly with plenty of references to Borlands version of the language, but exclusive coverage of Borland on separate pages.

3. There is actually an extensive list of standard Pascal compilers on the english version of this page. Also, you listed GNU as a Borland compiler in the main, it is an ISO 7185 compiler with some degree of Borland capability. In any case, it does not bear on the point, which is that this page is not about Pascal, as in the language, but Delphi, as in the language. Nobody is debating that Delphi needs a page, but it does not need to take over the pascal page.

To sum up, I don't really have a problem with this page, it is just misnamed. It should be "delphi programming language", and the Pascal page can link to that.

What the Pascal page needs to be (and is in the English side), is what is Pascal, its origins in the 1970s, what it looks (or if you prefer looked like), and certainly what implementations are called Pascal today. What you have here now is something like a store marked "Eiffel Tower" selling Macdonald's hamburgers and a brief note on the door saying that the Eiffel Tower got moved somewhere but this is just as good....

Scott Moore

[modifier] Excès d'exemples trop spécifiques

Bonjour,

Vite fait à mon avis trop d'exemples ciblant en fait plus l'utilisation de bibliothèques spécifiques que l'utilisation du langage lui même...

Certes la voie Borland Pascal 7 / Delphi a été connue par nombre de programmeurs Pascal (je ne dis pas que j'ignore cette voie), mais ce n'est pas en soi l'objet d'un article sur le langage Pascal en lui même.

Montrer un peu de syntaxe, de fonctionnalités courantes du langage (récursivité, définition utilisation d'objets même...) est ok, mais faire des exemples dépendant trop d'unités est autre chose. (ps: rien n'oblige à fournir des programmes affichant un résultat pour montrer un peu le langage, quelques fonctions/procédures suffisent...)

Enfin ce n'est que mon avis, et je ne fais que passer...

w7a 17 février 2008 à 00:41 (CET)