The APL c compiler project

This is a compiler, which essentially translates APL to C code. It is based on T. Budd's original work. Some liberties have been taken with the language. It is basically experimental, and not guaranteed to be good for anything. But I am maintaining it and would appreciate hearing about bugs or problems, or ports. I have been bringing the language closer to the standard (e.g. take and drop now behave as expected). I've just started adding complex support (v4), including the usual complex numbers, quaternions, and octonions (Cayley numbers). I've been meaning to have a language with all the numbers for a while. Not sure about the transfinite ones yet... The source code is known to compile on FreeBSD, HP, Solaris, SunOS, Linux, Dec Alpha, SGI, Atari ST, DOS (using dj gcc; not tested in a while). Probably not difficult to port to any unix system. As of 3.30 I'm using autoconf, which should simplify building and porting. Currently this is split into a development version, which may have unstable features, and a more stable version. APLc Language reference (TeX source included in distribution): aplc_doc.pdf (v6.17)
Tim Budd's original code (.tar.Z)

Comments? swsirlinAtEarthlinkDotNet

apl

top