The logic code in LDL+ is portable because it is target-platform independent. Some commands are only applicable to one platform, such as the ADHOC command and the ACCESSEXT command which are specific to MCP. The presence of these commands should not be sufficient to make the code non-portable.
It is your responsibility to ensure that succeeding logic is structured so that if the commands are not executed, the logic produces valid results. If there are commands in the logic which do not apply to the platform targeted then generation effectively treats them as NO-OP (no operation) with a suitable warning message output at generation time. Should execution pass through the place where such a command is coded, then a warning message is sent to the log.
A build-time policy is needed so that you can decide whether or not to have warning messages output at generation time and/or at runtime.