📄 ch31.htm
字号:
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<UL>
<LI><A HREF="#Heading1">- 31 -</A>
<UL>
<LI><A HREF="#Heading2">Other Compilers</A>
<UL>
<LI><A HREF="#Heading3">Ada</A>
<LI><A HREF="#Heading4">FORTRAN</A>
<LI><A HREF="#Heading5">Digital Signal Processing</A>
<LI><A HREF="#Heading6">Modula-3</A>
<LI><A HREF="#Heading7">OGI</A>
<LI><A HREF="#Heading8">Eiffel</A>
<LI><A HREF="#Heading9">COBOL</A>
<LI><A HREF="#Heading10">LISP</A>
<LI><A HREF="#Heading11">Scheme</A>
<LI><A HREF="#Heading12">REXX</A>
<LI><A HREF="#Heading13">Summary</A>
</UL>
</UL>
</UL>
<P>
<HR SIZE="4">
<H2 ALIGN="CENTER"><A NAME="Heading1<FONT COLOR="#000077">- 31 -</FONT></H2>
<H2 ALIGN="CENTER"><A NAME="Heading2<FONT COLOR="#000077">Other Compilers</FONT></H2>
<P><I>by Kamran Husain</I></P>
<P>IN THIS CHAPTER</P>
<UL>
<LI>Ada
<P>
<LI>FORTRAN
<P>
<LI>Digital Signal Processing
<P>
<LI>Modula-3
<P>
<LI>OGI
<P>
<LI>Eiffel
<P>
<LI>COBOL
<P>
<LI>LISP
<P>
<LI>Scheme
<P>
<LI>REXX
</UL>
<P><BR>
This chapter gives you a brief introduction to some languages other than those that
have been assigned whole chapters in this book. You will learn details about the
following languages and how to get packages for them:
<UL>
<LI>Ada
<P>
<LI>FORTRAN
<P>
<LI>Digital Signal Processing
<P>
<LI>Modula-3
<P>
<LI>OGI
<P>
<LI>Eiffel
<P>
<LI>COBOL
<P>
<LI>LISP
<P>
<LI>Scheme
<P>
<LI>REXX
</UL>
<P>All the packages here have accompanying documentation and "how-to-use"
instructions for them.</P>
<P>The list of programming languages covered here is not complete. As Linux becomes
more and more acceptable in the programming community, you will see more languages
being ported to Linux.
<H3 ALIGN="CENTER"><A NAME="Heading3<FONT COLOR="#000077">Ada</FONT></H3>
<P>The Ada programming language was named after Ms. Ada Lovelace, a member of the
original Ada software development team. Ada is the choice of many real-time system
software developers and has been enhanced significantly for this purpose. Needless
to say, some greatly enthusiastic individuals have ported this language over to Linux.
The Ada package is referred to as the GNAT (for GNu Ada Translator). The authors
therefore appropriately belong to the GNAT project at New York University.</P>
<P>The latest update at the time of this writing was in September 1994. The Ada83
and Ada90 standards of the Ada language are covered in this release. The Ada for
Linux package comes in the following files:
<UL>
<LI><TT>gcc-drv-2.4.5.tar.gz</TT>
<P>
<LI><TT>gnat-1.83-bin-disk1.tar.gz</TT>
<P>
<LI><TT>gnat-1.83-bin-disk2.tar.gz</TT>
<P>
<LI><TT>gnat-2.0-linux-1.tar.gz</TT>
<P>
<LI><TT>gnat-2.0-linux-2.tar.gz</TT>
<P>
<LI><TT>gnat-2.0-linux-bin.tgz</TT>
<P>
<LI><TT>gnat-2.0-linux-lib.tgz</TT>
<P>
<LI><TT>gnat-2.0-linux.lsm</TT>
<P>
<LI><TT>gnat-1.83.lsm</TT>
</UL>
<P>For more information, you can contact the support folks via e-mail at <TT>gnat-request@cs.nyu.edu</TT>.
The FTP site at <TT>tsx-11.mit.edu</TT> has the latest information and release of
this software in the directory <TT>/pub/linux/packages/Ada</TT>.</P>
<P>To compile the source files, you need <TT>gcc</TT> 2.6.0 or higher. The compiler
can be found in the <TT>gnat-2.0.tar</TT> file. Altogether, this package chews up
about 5MB of your hard disk space.
<H3 ALIGN="CENTER"><A NAME="Heading4<FONT COLOR="#000077">FORTRAN</FONT></H3>
<P>The FORTRAN programming language is also ported to Linux. Only versions up to
FORTRAN 77 have been ported over. There are only commercial ports of FORTRAN 90 as
of this publication. The package in the <TT>tsx-11.mit.edu</TT> archives under the
<TT>/pub/linux/packages/fortran</TT> directory contains the following files:
<UL>
<LI><TT>ftnchek-2.7.lsm</TT>
<P>
<LI><TT>ftnchek-2.7.tgz</TT>
<P>
<LI><TT>libf2c-0.9.lsm</TT>
<P>
<LI><TT>libf2c-0.9.tar.gz</TT>
<P>
<LI><TT>mpfun-1.0.lsm</TT>
<P>
<LI><TT>mpfun-1.0.tar.gz</TT>
<P>
<LI><TT>toolpack-1.2.lsm</TT>
<P>
<LI><TT>toolpack-1.2.tar.gz</TT>
</UL>
<P>For a more up-to-date description of the files, check the <TT>INDEX</TT> file
in the same directory as the above files. The <TT>libf2c-0.9.tar.gz </TT>file contains
the functions for converting FORTRAN code to C. Actually, the program <TT>f2c</TT>
does a pretty decent job on all my class assignments at the university. The output
is not idiot-proof, but it does the major portion of the job of translation.</P>
<P>The <TT>toolpack</TT> files are tools for FORTRAN programmers. Functions include
printing aids for clean output listings and some sort of lint checker. Tools in this
package include those for portability testing and dynamic programming analysis. All
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -