Ada compiler for Mac OS X 10.6
Right. I'm currently in a class that is exploring many different programming languages. Among them are COBOL and Ada, both of 开发者_JAVA技巧which I can't seem to find a free compiler. Has anyone had better luck and if so, where might I find them? Thanks!
You want the GNAT GPL Edition.
There is much available for Ada at http://libre.adacore.com/libre/, including Eclipse plugins and IDEs. Free downloads are available for students.
The OpenCOBOL compiler is free. As far as I know there are versions for Windows, Linux and Mac OS X - http://www.opencobol.org
Edit : A possible option might be Veryant isCOBOL http://www.veryant.com. Veryant are due to release a student version (i.e. restricted) of their compiler. Veryant's isCOBOL compiler compiles to a Java run-time and as such may run on OS X.
Their faq http://www.veryant.com/products/faq.php?type=all states that "Being Java-based, the isCOBOL Compiler runs on any platform that supports a Java Development Kit (JDK) version 1.4.2 or greater. The isCOBOL Debugger and isCOBOL compiled code can run on any platform that supports a Java Runtime Environment (JRE) of 1.4.2 or later. Thus, isCOBOL APS supports a wealth of platforms including AIX, HP-UX, Linux, Solaris and Windows. The only exception to this is isCOBOL ISAM ODBC, which currently runs only on Windows."
gcc's Ada compiler, gnat
, does not come with Xcode so you will need to find it elsewhere or build it from source. Free COBOL compilers are a bit harder to find.
精彩评论