News for hackers. Stuff that matters.
Re:D2: A new declarative language to turn text into diagrams by ryukoposting on Tuesday August 30, 2022 @09:06PM (#32657153)
The syntax reminds me a bit of PIC. Is that coincidence, or intentional?
Re:D2: A new declarative language to turn text into diagrams by alixanderwang on Tuesday August 30, 2022 @09:12PM (#32657188)
coincidental, i actually thought i'd researched all the available options before embarking. can you share a link to an example? I found the wikipedia but haven't found what the syntax looks like
Re:D2: A new declarative language to turn text into diagrams by ryukoposting on Tuesday August 30, 2022 @09:24PM (#32657269)
Okay, maybe it's not as close as I remember it!

PIC is designed to be embedded inside of TROFF, so it's... not pretty, to say the least. It does have the -> arrow thing, and the label: value syntax, though. For as hideous as it is, it's surprisingly easy to use.

https://yingtongdiddleipo.ee.wits.ac.za/help/gpic.pdf

Re:D2: A new declarative language to turn text into diagrams by SonOfLilit on Tuesday August 30, 2022 @11:34PM (#32658083)
Those probably descended through PlantUML
Re:D2: A new declarative language to turn text into diagrams by alixanderwang on Tuesday August 30, 2022 @11:52PM (#32658179)
the -> probably descended from cave paintings