From 8e189e779fd92e1afa69359025c8e85731597eda Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Mon, 1 Apr 2024 16:30:13 +0700 Subject: [PATCH] add bnf --- .gitignore | 4 ++- .idea/gradle.xml | 1 + build.gradle.kts | 7 ++++ src/main/kotlin/ru/crabs/sjson/SJson.bnf | 32 +++++++++++++++++++ .../kotlin/ru/crabs/sjson/SJsonTokenType.kt | 13 ++++++++ src/main/resources/examples/Config.sjson | 22 +++++++++++++ 6 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 src/main/kotlin/ru/crabs/sjson/SJson.bnf create mode 100644 src/main/kotlin/ru/crabs/sjson/SJsonTokenType.kt create mode 100644 src/main/resources/examples/Config.sjson diff --git a/.gitignore b/.gitignore index b63da45..060b072 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,6 @@ bin/ .vscode/ ### Mac OS ### -.DS_Store \ No newline at end of file +.DS_Store + +src/main/gen diff --git a/.idea/gradle.xml b/.idea/gradle.xml index c21ca2e..52ca5e2 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +