Pascal: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
Tor (talk | contribs)
m Fixed example, corrected Wirth reference.
External links: +Experience with Pascal Compilers on Mini-computers
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Pascal was a intermediate language which had some popularity in the 1980's. The language was written by Niklaus Wirth.
'''Pascal''' was a strong-typed, structured language which had some popularity in the 1980s, although it lives on in various forms today (e.g. [[Delphi]]).
 
The language was written by Niklaus Wirth in 1968-1969. It was originally designed for teaching purposes and was lacking in some areas, it was for example not possible to write a function which could receive variable length arrays or -strings as parameters. Thus a plethora of variant implementations of Pascal followed which all improved on the original Wirth design, however not necessarily in a compatible way.


== Hello world ==
== Hello world ==
Line 6: Line 8:
begin
begin
   writeln('hello world');
   writeln('hello world');
  end.
end.
</pre>
</pre>


== Compilers ==
== Compilers ==


*Turbo Pascal
* Turbo Pascal


{{semi-stub}}


== Notes ==
==External links==
The old Turbo Pascal 5.5 is now freely available [http://edn.embarcadero.com/article/20803 here].


* [https://www.cs.princeton.edu/~bwk/btl.mirror/notfavorite.html Why Pascal is Not My Favorite Programming Language] - some pithy comments from Brian Kernighan
* [https://dl.acm.org/doi/pdf/10.1145/956641.956642 Experience with Pascal Compilers on Mini-computers]
* [https://community.embarcadero.com/article/technical-articles/162-programming/7127-antique-software-turbo-pascal-v55 Antique Software: Turbo Pascal Version 5.5] - The old Turbo Pascal 5.5
** [https://9to5tutorial.com/try-installing-turbo-pascal-5-5-on-windows-10-64bit-11 Try installing Turbo Pascal 5.5 on Windows 10 (64bit) / 11]
* [https://www.slac.stanford.edu/vault/collvault/greylit/cgtm/CGTM196.pdf Stanford Pascal Compiler]


{{stub}}
[[Category: Languages]]
[[Category:Languages]]

Latest revision as of 14:29, 23 July 2024

Pascal was a strong-typed, structured language which had some popularity in the 1980s, although it lives on in various forms today (e.g. Delphi).

The language was written by Niklaus Wirth in 1968-1969. It was originally designed for teaching purposes and was lacking in some areas, it was for example not possible to write a function which could receive variable length arrays or -strings as parameters. Thus a plethora of variant implementations of Pascal followed which all improved on the original Wirth design, however not necessarily in a compatible way.

Hello world

program hello;
begin
  writeln('hello world');
end.

Compilers

  • Turbo Pascal

External links