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