From f3862264e0e779d3f9cfa727971bc6c59118291a Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sat, 21 Feb 2026 18:12:46 +0300 Subject: =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20$=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D1=80=D0=B5=D1=88=D0=B5=D0=BD=D0=BD=D1=8B=D0=BC=20=D1=81?= =?UTF-8?q?=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB=D0=BE=D0=BC=20=D0=B2=20=D1=81?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.ebnf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.ebnf') diff --git a/config.ebnf b/config.ebnf index 965c5c7..51c1db7 100644 --- a/config.ebnf +++ b/config.ebnf @@ -18,7 +18,9 @@ Boolean = boolean . String = str . # Primitives -word = `[a-zA-Z_][a-zA-Z0-9_]*` . +word = (alpha | spec) {alpha | number | spec} . +alpha = `[a-zA-Z]` . +spec = `\$|_` . number = `-?[0-9]+(\.[0-9]+)?` . boolean = `true|false` . str = `"[^"]*"` | `'[^']*'` | '`' { `[^\x60]` } '`' . -- cgit v1.2.3