Pascal

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Added sample files)
 
(3 intermediate revisions by one user not shown)
Line 7: Line 7:
 
'''Pascal''' is an influential imperative and procedural programming language, designed in 1968–1969 and published in 1970. Borland's Turbo Pascal, and the later Borland Pascal, were popular in the 1980s and early 1990s on the PC/MS-DOS platform ([[CP/M]] versions were also released).
 
'''Pascal''' is an influential imperative and procedural programming language, designed in 1968–1969 and published in 1970. Borland's Turbo Pascal, and the later Borland Pascal, were popular in the 1980s and early 1990s on the PC/MS-DOS platform ([[CP/M]] versions were also released).
  
Its popularity is greatly reduced in recent years, probably to some extent due to the fact that most current programming languages adopted syntax based more on [[C]] than Pascal, so the syntactic features of Pascal, such as the use of = for comparisons and := for assignments, and the begin/end keywords marking code blocks, are unusual to programmers more used to the C conventions of = for assignment and == for comparison, and curly braces for code blocks.
+
Another popular version of Pascal in the late 1970s and early 1980s was the UCSD p-system, which compiled Pascal to platform-independent pseudocode called [[UCSD p-system p-code|p-code]] and had its own custom operating system and [[UCSD p-System Filesystem|file system]].
 +
 
 +
Its popularity is greatly reduced in recent years, probably to some extent due to the fact that most current programming languages adopted syntax based more on [[C]] than Pascal, so the syntactic features of Pascal, such as the use of = for comparisons and := for assignments, and the begin/end keywords marking code blocks, are unusual to programmers more used to the C conventions of = for assignment and == for comparison, and curly braces for code blocks. Some newer languages have, however, reintroduced some of these things, such as the "end" keyword in [[Ruby]] and [[Elixir]].
  
 
See also [[Object Pascal]].
 
See also [[Object Pascal]].
 +
 +
== Sample files ==
 +
* {{DexvertSamples|text/pas}}
  
 
== References ==
 
== References ==
 
* [[Wikipedia:Pascal (programming language)|Pascal (Wikipedia)]]
 
* [[Wikipedia:Pascal (programming language)|Pascal (Wikipedia)]]
 
* [http://www.marcocantu.com/epascal/ Essential Pascal, by Marco Cantù (free online book)]
 
* [http://www.marcocantu.com/epascal/ Essential Pascal, by Marco Cantù (free online book)]

Latest revision as of 15:34, 28 December 2023

File Format
Name Pascal
Ontology
Extension(s) .pas, .pp, .p, .inc
Released 1970

Pascal is an influential imperative and procedural programming language, designed in 1968–1969 and published in 1970. Borland's Turbo Pascal, and the later Borland Pascal, were popular in the 1980s and early 1990s on the PC/MS-DOS platform (CP/M versions were also released).

Another popular version of Pascal in the late 1970s and early 1980s was the UCSD p-system, which compiled Pascal to platform-independent pseudocode called p-code and had its own custom operating system and file system.

Its popularity is greatly reduced in recent years, probably to some extent due to the fact that most current programming languages adopted syntax based more on C than Pascal, so the syntactic features of Pascal, such as the use of = for comparisons and := for assignments, and the begin/end keywords marking code blocks, are unusual to programmers more used to the C conventions of = for assignment and == for comparison, and curly braces for code blocks. Some newer languages have, however, reintroduced some of these things, such as the "end" keyword in Ruby and Elixir.

See also Object Pascal.

[edit] Sample files

[edit] References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox