carneades / carneades-4

Version 4 of Carneades, implemented in Go
https://carneades.github.io/
Other
48 stars 13 forks source link

YAML Parser: Allow premises to be lists as well as maps #14

Closed tfgordon closed 8 years ago

tfgordon commented 8 years ago

Currently the premises of an argument scheme (unlike arguments) must be a map, with role names as keys, in the YAML format of argument graphs. Let's extend the parser to also allow the premises to be listed, without role names. Use the index of each premise in the list ("1", "2", ...) as its role name in this case. (Using "1" for the first premise, rather than "0", is probably more intuitive for our intended users.)

tfgordon commented 8 years ago

Hasn't this been done, Horst?

hfried commented 8 years ago

done