R. Clayton (rclayton@monmouth.edu)
(no date)
I've put my implementation of srpc-gen in the second project class directory.
It runs only on cslab (solaris) systems; it's written in a language (icon)
that's only installed on cslab machines.
srpc-gen reads a service-spec file from std-in and creates the four
source-language files required by the c++ binding. srpc-gen should be
considered in beta; it generates compilable code that looks about right, but
I'm still working on the details. It should also be easy to get srpc-gen to
accept bad service-spec files or to generate bad code; these problems be fixed
eventually. Any discrepancies between the code created by srpc-gen and the
project assignment page should be resolved by taking the the project page to be
definitive.
Because the files generated are usually read only by compilers, they're not
formatted. You might find the files easier to read if you run them through
indent, a pretty-printer for c code (there may be other pretty-printers
available). Because it wasn't written to handle c++ code, indent sometimes has
trouble formatting c++ constructs (templates in particular). See the indent
man page for more details.
This archive was generated by hypermail 2.0b3 on Tue May 06 2003 - 14:00:05 EDT