Re: [aclug-L] Pascal compiler
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Jesse Kaufman <kaufmjes@xxxxxxxxxxxxxxxxx> writes:
> does linux come standard w/ a pascal compiler? if not, where can i find
> a standard one? i am in pascal right now, and would much rather do my
> hw on my computer than have to run telnet sessions all the time...
Yes. Try: (these descriptions from Debian)
gpc (GNU pascal compiler)
the egcs version is nifty:
Description: The GNU (egcs) Pascal compiler.
This is the egcs version of the Pascal compiler, which compiles
Pascal on platforms supported by the gcc compiler. It uses the
gcc backend to generate optimized code.
.
The current beta release 2.2 implements Standard Pascal (ISO 7185,
level 1), a large subset of Extended Pascal (ISO 10206), and
Borland Pascal. Many Borland Pascal units supported.
Also:
p2c (Pascal to C translator)
Description: Pascal to C translator
P2c is a tool for translating Pascal programs into C. The input consists
of a set of source files in any of the following Pascal dialects: HP Pascal,
Turbo/UCSD Pascal, DEC VAX Pascal, Oregon Software Pascal/2, Macintosh
Programmer's Workshop Pascal, Sun/Berkeley Pascal. Modula-2 syntax is also
supported. Output is a set of .c and .h files that comprise an equivalent
program in any of several dialects of C. Output code may be kept machine
and dialect-independent, or it may be targeted to a specific machine and
compiler. Most reasonable Pascal programs are converted into fully
functional C which will compile and run with no further modifications,
although p2c sometimes chooses to generate readable code at the expense
of absolute generality.
---
This is the Air Capital Linux Users Group discussion list. If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.
|
|