GraphViz Scheme DSL

siiky

2019/10/01

2022/07/14

en

I've (loosely) defined a DSL to represent GraphViz DOT in Scheme, and created a converter library & program that takes the DSL as input and outputs .gv text. It almost certainly doesn't support all of the features of DOT, but I intentionally left out "validation" of input, because I don't know all of DOT and I don't pretend to. The DSL is not only a Scheme representation but also saves some work.

I use it on this site, for example:

=> Category Theory and Performance

The code can be found online, but try not to read it, it's much too ugly. :/

=> https://github.com/siiky/gvs

Proxy Information
Original URL
gemini://siiky.srht.site/scheme/gv-dsl.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
139.401526 milliseconds
Gemini-to-HTML Time
0.232873 milliseconds

This content has been proxied by September (3851b).