You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,20 +18,17 @@
18
18
19
19

20
20
21
-
ABCoder, an AI-oriented code handling tool, is designed to enhance coding-context for Large-Language-Model (LLM).
22
-
21
+
ABCoder, an AI-oriented code-processing tool, is designed to enhance coding-context for Large-Language-Model (LLM), simplify AI-assisted-coding process.
23
22
24
23
## Features
25
24
26
-
- Universal Abstract Syntax Tree (UniAST), an language-independent and AI-friendly coding-context, provides ample and recursive code information for AI or programs.
25
+
- Universal Abstract Syntax Tree (UniAST), an language-independent and AI-friendly coding-context AST specfication, providing ample and recursive code information for both AI and hunman.
27
26
28
27
- Universal Parser, parses abitary languages to UniAST.
29
28
30
29
- Univeral Writer, transforms UniAST back to codes.
31
30
32
-
- (WIP) Code Understanding and Semantic Querying, which can be used to retrieve codes with natural language for either human or AI.
33
-
34
-
Based on these features, ABCoder can help developers to easily implement or enhance many AI-assisted coding applications, such as code reviewer, IDE copilot and so on.
31
+
Based on these features, developers can easily implement or enhance their AI-assisted-coding agent or workflow, such as reviewing, optimizing, translating...
35
32
36
33
## Getting Started
37
34
@@ -41,11 +38,12 @@ go install github.com/cloudwego/abcoder@latest
41
38
```
42
39
2. Use ABCoder to parse a repository to UniAST (JSON)
43
40
```bash
44
-
abcoder parse <language><repo-path>><AST-path>
41
+
abcoder parse {language} {repo-path}>ast.json
45
42
```
46
-
3. Use ABCoder as a writer
43
+
3. Do your magic with UniAST...
44
+
4. Use ABCoder to write a UniAST back to codes
47
45
```bash
48
-
abcoder write <AST-path>
46
+
abcoder write {language} ast.json
49
47
```
50
48
51
49
## Universal-Abstract-Syntax-Tree Specification
@@ -57,11 +55,12 @@ see [UniAST Specification](docs/uniast-zh.md)
57
55
58
56
ABCoder currently supports the following languages:
0 commit comments