From c668d109ce214421fb40e33ffc028689f2d3a52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:26:19 +0800 Subject: [PATCH 1/6] update ci --- .github/workflows/pr-check.yml | 4 ++-- .golangci.yaml | 36 ---------------------------------- README.md | 2 +- 3 files changed, 3 insertions(+), 39 deletions(-) delete mode 100644 .golangci.yaml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index a0b4c148..df6953ef 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -13,5 +13,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # - name: Check Spell - # uses: crate-ci/typos@master + - name: Check Spell + uses: crate-ci/typos@master diff --git a/.golangci.yaml b/.golangci.yaml deleted file mode 100644 index d8844c70..00000000 --- a/.golangci.yaml +++ /dev/null @@ -1,36 +0,0 @@ -# Options for analysis running. -run: - # include `vendor` `third_party` `testdata` `examples` `Godeps` `builtin` - skip-dirs-use-default: true -# output configuration options -output: - # Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions - formats: colored-line-number -# All available settings of specific linters. -# Refer to https://golangci-lint.run/usage/linters -linters-settings: - gofumpt: - # Choose whether to use the extra rules. - # Default: false - extra-rules: true - govet: - # Disable analyzers by name. - # Run `go tool vet help` to see all analyzers. - disable: - - stdmethods -linters: - enable: - - gofumpt - - goimports - - gofmt - disable: - - errcheck - - typecheck - - deadcode - - varcheck - - staticcheck -issues: - exclude-use-default: true - exclude-files: - - ".*\\.mock\\.go$" - exclude-dirs: diff --git a/README.md b/README.md index f5b123d9..ad3c070c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ ABCoder currently supports the following languages: # Getting Involved We encourage developers to contribute and make this tool more powerful. If you are interested in contributing to ABCoder -project, kindly check out our Getting Involved Guide: +project, kindly check out our guide: - [Parser Extension](docs/parser-zh.md) > Note: This is a dynamic README and is subject to changes as the project evolves. From 0e8fb56f03b7dfc4cef46246097e07e70837b334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:36:48 +0800 Subject: [PATCH 2/6] udpate ci --- .github/workflows/pr-check.yml | 4 ++-- _typos.toml | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 _typos.toml diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index df6953ef..a0b4c148 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -13,5 +13,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Check Spell - uses: crate-ci/typos@master + # - name: Check Spell + # uses: crate-ci/typos@master diff --git a/_typos.toml b/_typos.toml deleted file mode 100644 index 47b5bead..00000000 --- a/_typos.toml +++ /dev/null @@ -1,4 +0,0 @@ -# Typo check: https://github.com/crate-ci/typos - -[files] -extend-exclude = ["go.mod", "go.sum", "check_branch_name.sh"] From 6ab065163c2763a36402150e0ea74b0fa20670ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:47:17 +0800 Subject: [PATCH 3/6] update --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ad3c070c..9812cae8 100644 --- a/README.md +++ b/README.md @@ -3,25 +3,25 @@ ![ABCoder](images/ABCoder.png) # Overview -ABCoder, an AI-oriented code-processing SDK, is designed to enhance coding context for Large-Language-Model (LLM), and boost developing AI-assisted-coding applications. +ABCoder, an general, AI-oriented code-processing SDK, is designed to enhance coding context for Large-Language-Model (LLM), and boost developing AI-assisted-programming applications. ## Features -- Universal Abstract Syntax Tree (UniAST), an language-independent, AI-friendly specification of code information, providing a flexible and structrual coding context for both AI and hunman. +- Universal Abstract-Syntax-Tree (UniAST), an language-independent, AI-friendly specification of code information, providing a flexible and structrual coding context for both AI and hunman. - General Parser, parses abitary-language codes to UniAST. - General Writer, transforms UniAST back to codes. -- (Comming Soon) General Iterator, a framework for visiting the UniAST easily and implementing batch-code-processing workflows. +- (Comming Soon) General Iterator, a framework for visiting the UniAST and implementing code-batch-processing workflows. -- (Comming Soon) Code RAG, provides a set of tools and functions to help the LLM understand your codes much deeper than ever. +- (Comming Soon) Code Retrieval-Augmented-Generation (RAG), provides a set of tools and functions to help the LLM understand your codes much deeper than ever. -Based on these features, developers can easily implement or enhance their AI-assisted-coding applications, such as reviewing, optimizing, translating, etc. +Based on these features, developers can easily implement or enhance their AI-assisted-programming applications, such as reviewing, optimizing, translating, etc. -## Universal-Abstract-Syntax-Tree Specification +## Universal Abstract-Syntax-Tree Specification see [UniAST Specification](docs/uniast-zh.md) From cb06f82af3c10e8f4d4e55aa660d269def5cc841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:48:07 +0800 Subject: [PATCH 4/6] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9812cae8..2b40030e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ABCoder, an general, AI-oriented code-processing SDK, is designed to enhance cod ## Features -- Universal Abstract-Syntax-Tree (UniAST), an language-independent, AI-friendly specification of code information, providing a flexible and structrual coding context for both AI and hunman. +- Universal Abstract-Syntax-Tree (UniAST), an language-independent, AI-friendly specification of code information, providing a boundless, flexible and structrual coding context for both AI and hunman. - General Parser, parses abitary-language codes to UniAST. From 80cfc893af65aecc4fd074c14fc2b0a75da40093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:48:43 +0800 Subject: [PATCH 5/6] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b40030e..076a8e65 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![ABCoder](images/ABCoder.png) # Overview -ABCoder, an general, AI-oriented code-processing SDK, is designed to enhance coding context for Large-Language-Model (LLM), and boost developing AI-assisted-programming applications. +ABCoder, an general AI-oriented code-processing SDK, is designed to enhance coding context for Large-Language-Model (LLM), and boost developing AI-assisted-programming applications. ## Features From a13f7afaf246adcbf83b15f2438ffe86c5aa7675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E4=BB=AA?= Date: Mon, 21 Apr 2025 16:50:03 +0800 Subject: [PATCH 6/6] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 076a8e65..08119dee 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ go install github.com/cloudwego/abcoder@latest abcoder parse {language} {repo-path} > ast.json ``` 3. Do your magic with UniAST... -4. Use ABCoder to write a UniAST back to codes +4. Use ABCoder to write an UniAST back to codes ```bash abcoder write {language} ast.json ```