Skip to content

v0.9.0

Choose a tag to compare

@telmomenezes telmomenezes released this 05 Apr 10:42
· 32 commits to master since this release

Changelog

[0.9.0] - 05-04-2026

Added

  • readers (txt, url, wikipedia).
  • cli interface with repl, parsers, readers.
  • hyperedge.Hyperedge.match function (calls parsers.match_pattern).
  • ParseResults.
  • HyperEdge.text.
  • load_edges function.

Changed

  • added get_parser to main functions (at hyperbase root).
  • improved documentation.
  • hedge now accepts ParseResults and can recursively add Hyperedge.text strings.
  • renamed function hyperedge.str2atom to str_to_atom.
  • Hyperedge is not a frozen dataclasse, instead of inheriting from tuple.
  • hedge now throws exceptions instead of returning None values.
  • Hyperedge.contains always recursive, removed deep argument.
  • simplified Hyperedge.simplify.
  • Hyperedge.insert_argrole now private, renamed to Hyperedge._insert_argrole.
  • Renamed Hyperedge.insert_edge_with_argrole to add_argument, pos optional (default to add at the end).
  • Renamed Hyperedge.edges_with_argrole to arguments_with_role.
  • Renamed Hyperedge.normalized to normalise.

Removed

  • function patterns.edge_matches_pattern.
  • deprecated and obsolete methods from Hyperedge: is_atom, to_str, roots, insert_first_argument, connect, sequence, contains_atom_type, main_concepts, replace_main_concept, has_argroles.