Xref: utzoo comp.lang.misc:3717 comp.lang.apl:376 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!maytag!water!ljdickey From: ljdickey@water.waterloo.edu (L.J.Dickey) Newsgroups: comp.lang.misc,comp.lang.apl Subject: Translating from APL (Was: Translating to/from APL) Keywords: APL language translators conversion DeJulio Message-ID: <2811@water.waterloo.edu> Date: 4 Dec 89 13:04:35 GMT References: <628@ubbpc.UUCP> Reply-To: ljdickey@water.waterloo.edu (L.J.Dickey) Organization: U. of Waterloo, Ontario Lines: 34 In article <628@ubbpc.UUCP> wgh@ubbpc.UUCP (William G. Hutchison) writes: > No, I have not seen any programming language translation products that can > handle APL. The difficulty is probably the parallel operations on generic > arrays of dynamically differing size and dimension. It could be done in > C++, Ada, LISP, or other languages, but I have not seen it done. > I am not sure what the original question was, Hutchinson did not say, but translation tools from APL to other languages do exist. One example is the APL compiler written by Tim Budd. A key part of his APL compiler is a tool that translates a moderately restricted subset of APL to C for compilation. Of course Budd goes much further, since he also provides the hooks that allow the compiled code to be integrated with the other interpreted code in the workspace. The company STSC provides a compilation service on their mainframe product. This APL compiler was developed under the leadership of Clark Wiedmann. Finally, there is an APL to Ada translator developed by a major supplier of software to the US government. The creation of this tool was stimulated by the ease of software development in APL and the requirement of the buyer that their software written in Ada. -- L. J. Dickey, Faculty of Mathematics, University of Waterloo. ljdickey@water.UWaterloo.ca ljdickey@water.BITNET ljdickey@water.UUCP ..!uunet!watmath!water!ljdickey ljdickey@water.waterloo.edu