s6mike / argmap

Tools for visualising argument maps represented in YAML - combining 2 forked repos with additional bugfixes and customisation.
https://argview.org/
Other
4 stars 1 forks source link

mup2argmap output often mangled #14

Open s6mike opened 2 years ago

s6mike commented 2 years ago

e.g.

lua mup2argmap examples/example.mup > Output/example.yml

creates:

---
? |
  Brunellus is irrational
: o1:
    ? |
      Brunellus studied in Paris.
    : []
    ? |
      -Most who study in Paris are rational.
    : []
  r2:
    ? |
      Brunellus is a donkey.
    : []
    ? |
      All donkeys are irrational.
    : []
...

When pre-existing example is:

"Brunellus is irrational":
  r1:
    "Brunellus is a donkey.":
    "All donkeys are irrational.":
  o1:
    "Brunellus studied in Paris.":
    "-Most who study in Paris are rational.":
s6mike commented 2 years ago

lua mup2argmap Output/Example1_ClearlyFalse_WhiteSwan_simplified.mup > Output/Example1_ClearlyFalse_WhiteSwan_simplified_roundtrip.yml works fine:

---
All swans are white.:
  r1:
    These swans are representative of all swans.: []
    Every swan I’ve ever seen is white.: []
  o2:
    Not all swans are white.: []
...