Difference between revisions of "Pascal"

From Computer History Wiki
Jump to: navigation, search
(New page: Pascal was a intermediate language which had some popularity in the 1980's. == Hello world == <pre> begin writlin("hello world"); end. </pre> {{stub}} Category:Languages)
 
(External links: +Experience with Pascal Compilers on Mini-computers)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Pascal was a intermediate language which had some popularity in the 1980's.
+
'''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 ==
 
<pre>
 
<pre>
 +
program hello;
 
begin
 
begin
writlin("hello world");
+
  writeln('hello world');
 
end.
 
end.
 
</pre>
 
</pre>
  
 +
== Compilers ==
 +
 +
* Turbo Pascal
 +
 +
{{semi-stub}}
 +
 +
==External links==
 +
 +
* [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 15: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