Parsing and processing tools for Vector Formulations.
collections
itertools0
functools0
ilevel0
Functions0
The default tool set for vector expansion transformations.
Functions__init__0
__init__(self, environ)
FunctionsSelect0
Select(self, fields)
Compose a vector generator from the expansion fields.
Functionsenv40%
env(self, name, default)
Override the fields with the identified environment variable.
Functionsquoted0
quoted(self, string)
Surround the string with quotations and replace any occurrence with two.
Functionsbracketed20%
bracketed(self, string)
Surround the string with brackets.
Functionsresuffix60%
resuffix(self, replacement, string)
Replace the dot-suffix at the end of the string with the designated replacement.
Functionssuffix20%
suffix(self, extension, string)
Append a dot-suffix to the string.
Functionsprefix180%
prefix(self, prefix, string)
Force the string to have the given prefix.
Context0
Composition data structure holding the conclusions and constants.
Primarily providing the compose interface for producing the final command constructors.
Context__init__0
__init__(self, conclusions, constants)
Initialize the context identifying the set of available conditions.
Contextconstraint670%
constraint(self, cset, matches, vparam)
Contextresolve390%
resolve(Class, vf, vq, vi, index, slices)
Contextproduction489%
production(self, index, vf, vq, vp, vs, query)
Contextcompose292%
compose(self, index, selection, *argv)
Compose a command constructor with respect to self.
Contextchain0
chain(self, query, index, selection)
Compose and command constructor and evaluate it with respect to query.
parameters0
parameters(string)
Identify bracketed areas for substitution.
quotations0
quotations(args)
Isolate quotations within a vector expression. Quotations have the highest precedence and must be isolated first.
instruction196%
instruction(lineno, line)
Recognize the vector instruction present on a given line.
segments0
segments(lines)
Isolate the given lines into segments identified by the unindented line leading an indentation of text. The segments contain the indentations in the order presented by the iterator.
structure0
structure(origin, iterlines)
Structure the formatted vector expressions into a mapping identifying the distinct sequences.
parse0
parse(text)