Releases: Intuity/prologue
Releases · Intuity/prologue
Version 1.2
- 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 theincluded
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 thelookup
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 toresolve
. - 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
andhas_entries
methods onRegistry
allow previously registered entries to be queried
Version 1.1
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
Initial release