XPL
most up-to-date port: XPL-to-C
translates XPL to C.
usage:
there’s some info in the root makefile that mentions checking header file definitions for 64-bit ints, but i think that mostly applies to 32-bit machines?
dunno, didn’t check, still builds and works.
builds a static archive (libxpl.a) that needs to be linked:
% cc filename.c -L. -lxpl
haven’t tried out the other tools, yet.
resources
- UofT XPL site - includes ports and language description
- A Compiler Generator (DJVU) - covers XPL and compiler writing theory
- XPL BNF - grammar in backus-naur form