Earlier quoted context omitted.
People seem to be missing that this is a preview, not a product (yet). And that: "When the language is more stable, we intend to open source D2. This will happen sometime in 2022."
Perhaps then "Preview/Beta online service" should be part of the Headline/title.
D2: A new declarative language to turn text into diagrams
41–50 of 130 posts
Re: D2: A new declarative language to turn text into diagrams
#42Is there a declarative language or framework for creating ad-hoc GUIs that consume structured data from stdin stream and spit-out a GUI? Like feedgnuplot [1] but not only restricted to graphs. [1] https://github.com/dkogan/feedgnuplot
[1] https://speakerdeck.com/ajstarks/decksh-object-reference [2] https://speakerdeck.com/ajstarks/dchart-charts-from-deck-mar...
Re: D2: A new declarative language to turn text into diagrams
#431. D2 will be open source and usable outside of Terrastruct. Terrastruct will remain the best interface to D2, with bidirectional updates from GUI, but we already have vscode and vim plugins ready for local editing. We're a small team and working on one thing at a time.
2. We're aware of PlantUML, Graphviz, Mermaid, of course. These are mature offerings, but I see plenty room for improvement that we intend to tackle with D2. https://d2-lang.com/tour/faq#how-does-this-compare-to-mermai...
Feel free to ask any questions!
Re: D2: A new declarative language to turn text into diagrams
#44I am taken a little aback by the name. There is, of course, already the D programming language, which has even had a major version number of 2 for quite some time. It also brings to mind the JavaScript library d3, which, while not strictly for making diagrams, can easily lend itself to the purpose. Calling this thing "D2" seems potentially confusing.
We have: "D" the programming language [0] "D" the data language specification [1] "D" the programming language for DTrace [2] "D3" the javascript library [3] "D4" library/tool for Declarative Data-Driven Documents[4] "D4" implementation[5] of the data language specification[1] Overall, I think "D2" is objectively the best choice here. We have at least three "D"s, two "D4"s, and one "D3", so it makes sense to put it i…
Re: D2: A new declarative language to turn text into diagrams
#45The last question in the FAQ makes it clear that this can only be used in the context of their account-based online tool. Their free offering literally says "3 diagrams". Above this, the FAQ tries to compare their tool to Mermaid, Graphviz, PlantUML which are all open source, locally runnable, etc. Their comparison totally skips the fact that, because D2 can only be used in their service, a broad number of use cases…
edit: I've updated the docs to make this clear
Re: D2: A new declarative language to turn text into diagrams
#46Looks cool. Any inherent limitations or performance issues with graphs that are very large? (20M+ elements)
Re: D2: A new declarative language to turn text into diagrams
#47Hi all, creator of D2 here. I posted this on Reddit to get some feedback but was hoping to improve the docs and offer a playground environment before posting on HackerNews. Ah well. I wanted to clarify some things: 1. D2 will be open source and usable outside of Terrastruct. Terrastruct will remain the best interface to D2, with bidirectional updates from GUI, but we already have vscode and vim plugins ready for loca…
Re: D2: A new declarative language to turn text into diagrams
#48Re: D2: A new declarative language to turn text into diagrams
#49Earlier quoted context omitted.
We have: "D" the programming language [0] "D" the data language specification [1] "D" the programming language for DTrace [2] "D3" the javascript library [3] "D4" library/tool for Declarative Data-Driven Documents[4] "D4" implementation[5] of the data language specification[1] Overall, I think "D2" is objectively the best choice here. We have at least three "D"s, two "D4"s, and one "D3", so it makes sense to put it i…
As a gamer, after reading just "D2" my brain immediately assumed it's about Diablo 2 Resurrected.
Re: D2: A new declarative language to turn text into diagrams
#50Earlier quoted context omitted.
At the end of the video the presenter mentions that they plan to open source the language when it reaches a greater stage of maturity.
A code dump does not make it an open source project. Sustainable OSS projects are developed publicly.