diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-20 12:46:28 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-20 12:46:28 +0200 |
| commit | 2dd336f404674b7cb4c106d9b6bf98de071130a9 (patch) | |
| tree | 8fa1b3ed8975f7189447cd648128572046f6455c /def_SEMPREFIX.py | |
| parent | 4786783eef1708c19a25b69851047298986ef89c (diff) | |
group syntax diagrams; add AnnotatedWordsX SEMPREFIX SemWords
Diffstat (limited to 'def_SEMPREFIX.py')
| -rwxr-xr-x | def_SEMPREFIX.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/def_SEMPREFIX.py b/def_SEMPREFIX.py new file mode 100755 index 0000000..a7fc4a0 --- /dev/null +++ b/def_SEMPREFIX.py @@ -0,0 +1,13 @@ +#!/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( + "[.#]", + type="complex" +).writeStandalone( + open(splitext(basename(__file__))[0] + ".svg", "w").write) |
