The documentation for CInterface says among many other things:
We would like to convert C-enumerations like colour into an equivalent ML datatype, together with functions to convert between values of the datatype and ML integers. This can be achieved automatically by using the script proc-enums, contained in the scripts subdirectory of the source tree.
I don't see any such script anywhere in the tarballs from which I built PolyML: driver, mlsource, or basis. In fact, if I should believe "locate" it isn't anywhere on my machine :) Where oh where is it hiding?
I can't find it either. The foreign function interface was written at AHL and when they went into receivership I managed to recover most of what they had done but not everything. This script seems to have disappeared. It shouldn't be hard to write something like it so if anyone feels like contributing a version I'll add it to the source.
David.
On Saturday, Nov 23, 2002, at 08:20 Europe/London, Ian Zimmerman wrote:
The documentation for CInterface says among many other things:
We would like to convert C-enumerations like colour into an equivalent ML datatype, together with functions to convert between values of the datatype and ML integers. This can be achieved automatically by using the script proc-enums, contained in the scripts subdirectory of the source tree.
I don't see any such script anywhere in the tarballs from which I built PolyML: driver, mlsource, or basis. In fact, if I should believe "locate" it isn't anywhere on my machine :) Where oh where is it hiding?
-- Ian Zimmerman, Oakland, California, U.S.A. I did not vote for Emperor Bush. GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087 _______________________________________________ polyml mailing list polyml@inf.ed.ac.uk http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
We would like to convert C-enumerations like colour into an equivalent ML datatype, together with functions to convert between values of the datatype and ML integers. This can be achieved automatically by using the script proc-enums, contained in the scripts subdirectory of the source tree.
David> I can't find it either. The foreign function interface was David> written at AHL and when they went into receivership I managed David> to recover most of what they had done but not everything. This David> script seems to have disappeared. It shouldn't be hard to David> write something like it so if anyone feels like contributing a David> version I'll add it to the source.
OK, thanks, I might try this at some point. Will report.
Another question: are the basis/Net* and basis/*Sock* modules documented anywhere? I have a version of the Basis document dated August 5, 1997 by Jonh Reppy. Has it been amended since? If yes, where can I get the current version? If not, where do these modules come from?