Home Help Center

howto implement ice in pascal

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

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    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.
  • armgongarmgong Member
    thanks i will try to do this, i want use freepascal to finish this
Sign In or Register to comment.