aboutsummaryrefslogtreecommitdiff
path: root/def_SPACE.py
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-17 16:34:36 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-17 17:49:19 +0200
commit20a7517bf51a5ed1b36d0c134d1bf3f5d01b2e4a (patch)
treecaad8a508555fbce26baee69841375ca0209eb17 /def_SPACE.py
parentb4125c5a22700f86784b94fdb8587b7cef8d110b (diff)
add chapter on Markdown and annotation
Diffstat (limited to 'def_SPACE.py')
-rwxr-xr-xdef_SPACE.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/def_SPACE.py b/def_SPACE.py
new file mode 100755
index 0000000..9a6353b
--- /dev/null
+++ b/def_SPACE.py
@@ -0,0 +1,14 @@
+#!/usr/bin/python3
+
+# Copyright 2025, Jonas Smedegaard <dr@jones.dk>
+# SPDX-License-Identifier: GPL-3+
+
+from os.path import basename, splitext
+from railroad import *
+
+Diagram(
+ Start("complex"),
+ "' '",
+ End("complex")
+).writeStandalone(
+ open(splitext(basename(__file__))[0] + ".svg", "w").write)