summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--arch.dot36
2 files changed, 40 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9732347..84bc9c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,5 @@
-talk.pdf: talk.md
+talk.pdf: talk.md arch.svg
pandoc -t beamer -o talk.pdf talk.md
+
+arch.svg: arch.dot
+ dot -Tsvg -o arch.svg arch.dot
diff --git a/arch.dot b/arch.dot
new file mode 100644
index 0000000..eb82f9c
--- /dev/null
+++ b/arch.dot
@@ -0,0 +1,36 @@
+digraph "" {
+ md [label="document source\n(Markdown)"];
+ md [shape=box];
+
+ bindings [label="bindings file\n(YAML)"];
+ bindings [shape=box];
+
+ impl [label="step implementations\n(Python, Rust, ...)"]
+ impl [shape=box];
+
+ docgen [label="Doc generator"];
+ docgen [shape=ellipse];
+
+ codegen [label="Code generator"];
+ codegen [shape=ellipse];
+
+ pdf [label="PDF document"]
+ pdf [shape=diamond];
+
+ testprog [label="Test program\n(generated)"]
+ testprog [shape=box];
+
+ report [label="Test report"]
+ report [shape=diamond];
+
+ md -> docgen;
+ bindings -> docgen;
+ docgen -> pdf;
+
+ md -> codegen;
+ bindings -> codegen;
+ impl -> codegen;
+ codegen -> testprog;
+
+ testprog -> report;
+}