Skip to content

pretty-printing of aos #3

Description

@ekshaks

The default output is single-line, infix representation.

use Config.pprint_treelike=True to print in a tree-like format, with implicit and, or.

TODO: tree-like infix representation.

e.g. instead of
((gname & str) | (grp_id & str) | (rels & (rel_title & str)))
print

(gname & str) | 
(grp_id & str) | 
(rels & 
          (rel_title & str))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions