From 7eec5bca8898f271d58ed6c556eaaecfc2ad30fb Mon Sep 17 00:00:00 2001 From: Suguru ARAKAWA Date: Wed, 27 Dec 2023 22:09:45 +0900 Subject: [PATCH] docs: revise tgsql README. --- README.md | 10 ++-- docs/grammar-rule.md | 8 +-- modules/tgsql/{cli => }/README.md | 90 +++++++++++++++++++------------ 3 files changed, 62 insertions(+), 46 deletions(-) rename modules/tgsql/{cli => }/README.md (57%) diff --git a/README.md b/README.md index a4f2996..b846ae0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Available Tools -* [tgsql](./modules/tgsql/cli) - Text based SQL client program. +* [tgsql](./modules/tgsql) - Text based SQL client program. * [tgdump](./modules/tgdump) - Table Dump Tool. ## Requirements @@ -32,16 +32,12 @@ allprojects { project -> ## How to test ```sh -./gradle test +./gradlew test ``` ## How to run SQL console CLI -see [modules/tgsql/cli/README.md](modules/tgsql/cli/README.md). - -## SQL language - -see [docs/grammar-rule.md](docs/grammar-rule.md). +see [modules/tgsql/README.md](modules/tgsql/README.md). ## License diff --git a/docs/grammar-rule.md b/docs/grammar-rule.md index 0393881..c7c47ea 100644 --- a/docs/grammar-rule.md +++ b/docs/grammar-rule.md @@ -1,6 +1,6 @@ -# Tsurugi SQL grammar rule +# Tsurugi SQL console grammar rule -### Notation +## Notation * `` - a non-terminal symbol or token * `"image"` - a token @@ -12,7 +12,7 @@ * ` *` - the rule appears zero or more times * ` +` - the rule appears one or more times -### Grammar +## Grammar ```bnf