Differences between version 15 and revision by previous author of Pascal.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 15 | Last edited on Wednesday, November 19, 2003 5:47:26 pm | by AristotlePagaltzis | Revert |
Older page: | version 10 | Last edited on Saturday, September 13, 2003 12:46:52 pm | by GerwinVanDeSteeg | Revert |
@@ -1,5 +1,5 @@
-A ProgrammingLanguage
by NicolasWirth. Once very popular in schools before students started whining that they wanted to learn [C].
+An ImperativeProgrammingLanguage designed
by NicolasWirth as a teaching language
. Once very popular in schools before students started whining that they wanted to learn [C]. The ancestor of the language in [Borland]'s [Delphi] and [Kylix] [GUI] development environments, which added ObjectOrientation
.
!!! A Sample
__function__ plural (noun : __string__) : __string__;
@@ -29,19 +29,17 @@
Standard Pascal was a nice language with terrible limitations: Pascal programs could not open files by name, could barely handle strings and could only pass arrays of predetermined sizes to functions. BrianKernighan famously described Pascal's problems in [Why Pascal is Not My Favorite Programming Language |http://www.lysator.liu.se/c/bwk-on-pascal.html]. It has to be noted that NicolasWirth had already addressed most of Pascal's problems in his follow-up language [Modula2] ''before'' BrianKernighan wrote this paper. In some places BrianKernighan seems to be just complaining that Pascal is not [C]. At any rate, these limitations meant that Pascal splintered into dialects as people hacked in missing features in incompatible ways. [C] did not have this problem, so it gradually took over from the Pascal dialects.
!!! Implementations
-The online book [
Pascal Implementation: A Book
and Sources | http://www.cwi.nl/~steven/pascal/] walks you through
the source code to the original Pascal compiler. It's educational to read just as an extended critique
of a non-trivial program
.
+The Pascal grammer has maps very nicely to a RecursiveDescentParser struture
and for this reason in it
the language
of choice when writing
a RecursiveDescentParser by hand
.
-The most successful Pascal dialect has been Borland's TurboPascal. Further extended with [Modula2]-like modules and [C++]-like [OOP] it became [Delphi], which exists on [Linux] nowadays under the name [Kylix].
-
-
There are two OpenSource Pascal compilers for [Linux]:
+The most successful Pascal dialect has been Borland's TurboPascal. There are two OpenSource Pascal compilers for [Linux]:
* [GNU Pascal | http://www.gnu-pascal.de/]
* [Free Pascal | http://www.freepascal.org/]
-Free Pascal tends more towards TurboPascal compatability
.
+Free Pascal tends more towards TurboPascal compatibility
.
-If you check out the
[ Borland website
| http://www.borland
.com
] and dig deeply
you can get a free copy of TurboPascal 5
.5 for DOS and also I believe version 1.0
.
+The online book
[Pascal Implementation: A Book and Sources
| http://www.cwi
.nl/~steven/pascal/
] walks
you through the source code to the original Pascal compiler
. It's educational to read just as an extended critique of a non-trivial program
.
-----
-CategoryProgrammingLanguages
+CategoryProgrammingLanguages, CategoryImperativeProgrammingLanguages, CategoryMachineOrientedProgrammingLanguages