Archived

This forum has been archived. Please start a new discussion on GitHub.

howto implement ice in pascal

i mean write an ice binding in pascal?
which part of ice that i must implement ?
where should i start this work?

Comments

  • If you want to create a new language mapping for Ice, the best way to go about it is probably to put the language mapping on top of one of the existing implementations of Ice, that is, have the generated Pascal code call into the Ice run time libraries for C++, Java, or C#.

    To implement a language mapping, you need to come up with rules for how to map each slice construct and implement a code generator that provides the application API and calls into the Ice run time to do the marshaling and unmarshaling. You can look at the exsting code generators in slice2cpp/Gen.cpp, slice2java/Gen.cpp, and slice2cs/Gen.cpp.

    Be aware that adding support for a new language to Ice is not a trivial job.

    Cheers,

    Michi.
  • thanks i will try to do this, i want use freepascal to finish this