Open cristianvasquez opened 3 years ago
This is a great idea, @cristianvasquez! Definitely open to a PR, since I'm not sure when I'd be able to get to this.
To be in line with Aspen's goal of having natural-ish syntax, I'd like to see both commas and semicolons allowed as predicate list separators, and allowing a final bare "and", so people could write:
(Liz) [knows] (Jack), [supervises] (Jenna), and [supervises] (Tracy).
Perhaps this is scope creep, but maybe this would be a good foundation for predicate lists with inner lists! Like English grammar, commas would separate inner lists, and semicolons would separate predicate lists.
(Liz) [knows] (Jack); [supervises] (Jenna), (Tracy), and (Frank); and [works with] (Pete).
Hello,
Great work with Aspen, thank you very much!. I will start experimenting with it :)
I have a suggestion, which is to borrow the 'predicate lists' feature from the turtle syntax (https://www.w3.org/TR/turtle/#sec-intro)
This allows to not repeat the starting nodes each time, by using the ';' character
So if you have
This can be prettified to: