diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-05-26 11:00:33 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-05-26 11:40:24 +0200 |
| commit | b39149eae9a046dea7367ea0423fb7e7a27149a2 (patch) | |
| tree | 89ffea26c8c359086b59b4f81a5158641411b652 /syntax/def_Paragraph.py | |
| parent | bd8c87a53621a3e1e421c22caf30571a90db398c (diff) | |
rename syntax definitions: drop prefix def_
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) |
