The pikex Command

The PikeX (pikex) conversion compiler reads IDL source code and outputs Python source code that maintains the IDL structure and execution logic. PikeX is a terminal command, pikex, that operates in a fashion similar to a standard compiler.

Command usage and options are as follows:


pikex [-h] [--resetlib] [--nolib] [--noindex] [--notrans] [--verbose]
             [--nowarn] [--notodo] [--out-nowarn] [-q] [--logfile ]
             [-o ] [--echo] [--debug-ast] [-I ] [-v]
             [--swap {none,all,0and1}]
             [file [file ...]]

Positional Arguments

file – Input IDL source code file(s).

Optional Arguments

Option Details
-h, –help show this help message and exit
–resetlib Creates a new library file after indexing phase
–nolib Library load and save operations disabled
–noindex Skip the indexing phase
–notrans Skip the translation phase
–verbose Display all operational messages
–nowarn Disable display of warning messages
–notodo Disable display of TODO messages
–out-nowarn Disable writing of warning messages to the output file
-q, –quiet Disable warning and info output
–logfile file Messages are written to the provided file
-o directory Write output files to
–outdir directory Write output files to
–echo Echoes input file source code as comments in the results
–debug-ast Dumps the created abstract syntax tree structure
-I directory Add directory to the search path
-v Display version
–swap {none,all,0and1} Array index swap mode for the conversion.