Greetings,
I find that apparently there is some level of integration between Free Pascal and the Rexx scripting language. See:
https://wiki.freepascal.org/REXXOn the Open Object Rexx (ooRexx) side, there exists a bridge between Java Bean Scripting Framework (BSF) and ooRexx - BSF4ooRexx. That allows for calls from either source language to the other language, as well as I believe variables / data to remain in memory longer than just a single call.
So questions to the Lazarus community:
1) Does Free Pascal / Lazarus have integration already to Java BSF? If so, I would seek to link Lazarus to BSF4ooRexx.
2) Anyone know what this already existing interface is between Pascal and Rexx? Is what has already been developed compatible with the latest ooRexx?
3) Setting aside the newly found Pascal REXX interface... (if that is not suitable to interface to the latest ooRexx) may I be pointed in the direction of how to interface to a C/C++ API from Pascal? The ooRexx API I would seek to interface with is:
https://www.oorexx.org/docs/pdf/rexxapi.pdf2.3.3. The RexxStart Function
RexxStart calls the Rexx interpreter to run a Rexx procedure.
retc = RexxStart(ArgCount, ArgList, ProgramName, Instore, EnvName,
CallType, Exits, ReturnCode, Result);
I am thankful,