diff options
| author | 2026-03-09 23:05:42 +0300 | |
|---|---|---|
| committer | 2026-03-09 23:05:42 +0300 | |
| commit | 00394a80501960ad26787b5c44435ed5ed67ad84 (patch) | |
| tree | 672eb918c552c858f32e9533dc3799af6b75769f /example/file.conf | |
| parent | '-' sign in words accepted (diff) | |
| download | conf-0.1.0.tar.gz conf-0.1.0.tar.bz2 conf-0.1.0.tar.xz conf-0.1.0.zip | |
Полностью переписал библиотеку. Перевёл с EBNF на PEG.v0.1.0
Diffstat (limited to '')
| -rw-r--r-- | example/file.conf | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/example/file.conf b/example/file.conf deleted file mode 100644 index d23c7d7..0000000 --- a/example/file.conf +++ /dev/null @@ -1,33 +0,0 @@ -# one line comment - -simpe_key = "тест_кириллицы"; -simple_key_without_spaces = value; - -string_key = - "value" - 'string'; - -multiline_string = ` - multiline - string - 123 -`; - -int_key = -123.456; -bool_key = true; - -expression1 argument1 "argument2" 123; - -# comment can be everywhere -group_directive_without_arguments { - expression1 argument2 "string" 123 true; - expression2 argument3 "string111" 123321 false; - children_group "some argument" { - # child group. Can be empty. This is equivalent to directive `children_group "some argument"` - } -} - -group_directive_with_argument "some other argument" 'second argument' { - child_val = "children value"; -} - |
