Skip to main content

Module tgf

Module tgf 

Source
Expand description

Parser for Trivial Graph Format (TGF).

TGF splits nodes and edges with a # line: a b c

§

a b b c

Lines starting with % are treated as comments and ignored, matching the APX parser’s convention. (TGF itself does not standardise comments; this is a crate-level convenience.)

Functions§

parse_tgf
Parse a TGF document into an argumentation framework with String arguments.