afAxonatorExt icon

afAxonatorExt

Encrypts and obfuscates Axon source code (for SkySpark 3.0.x only)
afAxonatorExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 6 watchers.


[ANN] Axonator v1.0.8 Released
Steve Eynon17th Nov 2020

This new update has better defcomp function detection in SkySpark 3.0.21.

It also adds a workaround for a bug in newer (v3.0.22+) SkySpark versions.

As part of the encryption procedure, Axonator relies on a feature of SkySpark to read (and re-generate) your Axon code. It was identified (with the help of Group14 Engineering) that a particular expression is not handled correctly by SkySpark.

The new workaround checks for this (and any other) dodgy interpretation of Axon code by SkySpark and, if found, logs a warning and falls back to an older method of Axon parsing.

Details:

Axon code that combines an operation with an if statement requires brackets (parenthesis) to be parsed correctly.

expr : 1 + (if (true) 2 else 3)

The issue, is that statements such as these lose their surrounding brackets when read by SkySpark, creating an invalid Axon expression.

expr : 1 + if (true) 2 else 3

SkyFoundry are aware of the issue and will fix it for SkySpark 3.0.27 (see SkyFoundry support tickets 1703 and 1140).

Thanks,

Steve.


Log in or Sign up to post a reply.