Pan Compiler v10.1 Available
Release 10.1 of the Pan language compiler is available. The release has been tested against the GRIF configuration, but careful testing on your own configuration is recommended before putting it into production.
Highlights
- Release artifacts are available from the GitHub releases page. The artifacts will no longer be posted on SourceForge.
- Functions
file_exists
, which determines if an external file exists, andsubstitute
, which substitutes named variables in a string template, have been added. - Dynamic bind and valid statements are permitted. These will substitute the value of named global variables in the format
${vname}
in the path. This allows the path to be determined dynamically at build time. - Large number of bug fixes.
Feedback on the release is welcome via the Quattor mailing list or GitHub.
Detailed change log
- (Issue #68) revert a couple of UTF-8 read/write changes to conserve backward compatibility
- (Issue #13) change nlist references to dict
- (Issue #48) allow variable substitution for bind/valid paths
- (Issue #34) add the
file_exists
function - (Issue #63) allow user to specify number of threads for processing (nthread option)
- (Issue #61) fix processing of include path CLI argument
- (Issue #59) add
substitute
function to replace named values in string template - (Issue #54) convert source files to UTF-8
- (Issue #49) add warning in docs that all pan source files must be UTF-8 (also for
file_contents
function) - (Issue #47) fix compiler hang when using escape sequence in path literal
- (Issue #43) fix compiler crash when SELF is used as a function
- (Issue #41) RPM package should not own
/usr/bin
and/usr/lib
- (Issue #40) ensure line number and file name are correct for traceback function
- (Issue #38) add ip address and netmask functions
- (Issue #37) ensure line numbers appear in error message for bad default values
- (Issue #36) allow
to_long
to treat values like "08" and "09" - (Issue #31) fix options processing for CLI (bad processing causes failure)
- (Issue #29) update links in documentation to GitHub from SourceForge
- (Issue #15, #24) add OBJECT to debug and error output
- (Issue #31) panc command line fails