Skip to content

Releases: Intuity/prologue

Version 1.2

07 Apr 21:10
Compare
Choose a tag to compare
  • Fixing issue #10 - for loops now support start, stop, and step range parameters
  • Fixing issue #9 - include and import directives now propagate callback to nested evaluate call
  • Issue #8 - an optional list can be provided to evaluate using the included parameter, after evaluation completes the list will be populated will all files that have been consumed
  • Related to issue #8 - the method for retrieving line lookup and resolving line numbers has changed, and empty list now needs to be provided to evaluate using the lookup parameter which will be populated with line details. When resolving an output line number, this lookup list needs to be provided as the first argument to resolve.
  • Issue #7 - new ignore_duplicate parameter exists that avoids a PrologueError being raised on collision within the registry (the duplicate file/folder is just ignored)
  • Issue #1 - new list_entries and has_entries methods on Registry allow previously registered entries to be queried

Version 1.1

06 Apr 21:03
Compare
Choose a tag to compare

Changes:

  • A callback to an external routine can now be provided to evaluate which will be passed to all directive instances
  • An initial set of defined values can be provided to evaluate as a dictionary, which will seed the initial Context
  • New switch to Prologue allow_redefinition to lower severity of a repeated variable from error to warning
  • New switch to Prologue register_prime to make prime directives optional (defaults to True)
  • Adding source file and line number to directives to allow error messages to be more helpful
  • Catching exceptions in main evaluate loop to tag them with source file and line number

Version 1.0

06 Apr 20:58
Compare
Choose a tag to compare

Initial release