diff options
Diffstat (limited to 'syntax/def_Paragraph.py')
| -rwxr-xr-x | syntax/def_Paragraph.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/syntax/def_Paragraph.py b/syntax/def_Paragraph.py deleted file mode 100755 index 24e77fe..0000000 --- a/syntax/def_Paragraph.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/python3 - -# Copyright 2025, Jonas Smedegaard <dr@jones.dk> -# SPDX-License-Identifier: GPL-3+ - -from railroad import * - -Diagram( - NonTerminal("Words"), - Choice(0, - OneOrMore( - Sequence( - NonTerminal("HardBreak"), - NonTerminal("Words") - ) - ), - Skip() - ), - OneOrMore(NonTerminal("NEWLINE")), - type="complex" -).writeStandalone(sys.stdout.write) |
