@@ -25,8 +25,6 @@ see [UniAST Specification](docs/uniast-zh.md)
2525
2626
2727# Quick Start
28- It is easiest to start with Golang. For other languages, see language specific installations below.
29-
3028## Use ABCoder as a MCP server
3129
32301 . Install ABCoder:
@@ -41,13 +39,15 @@ It is easiest to start with Golang. For other languages, see language specific i
4139 abcoder parse {language} {repo-path} > xxx.json
4240 ` ` `
4341
44- For example:
42+ For example, to parse a Go repository :
4543
4644 ` ` ` bash
4745 git clone https://github.com/cloudwego/localsession.git localsession
4846 abcoder parse go localsession -o /abcoder-asts/localsession.json
4947 ` ` `
5048
49+ To parse repositories in other languages, [install the corresponding langauge server first](./docs/lsp-installation-en.md).
50+
51513. Integrate ABCoder' s MCP tools into your AI agent.
5252
5353 ```json
@@ -113,49 +113,17 @@ $ exit
113113
114114- NOTICE: This feature is Work-In-Progress. It only supports code analysis at present.
115115
116-
117116# Supported Languages
118117
119118ABCoder currently supports the following languages:
120119
121120| Language | Parser | Writer |
122121| -------- | ----------- | ----------- |
123- | Go | ✅ | ✅ |
124- | Rust | ✅ | Coming Soon |
125- | C | ✅ | ❌ |
126- | Python | Coming Soon | Coming Soon |
127-
128- # Language Specific Installations
129- ## Python
130- * Install the language server: a custom pylsp (as a git submodule).
131- You might use conda or venv to keep a separate python package environment.
132- ``` bash
133- $ git submodule init
134- $ git submodule update
135- $ cd pylsp
136- $ pip install -e . # you might do this in a separate conda/venv environment
137- $ export PATH=$( realpath ./bin) :$PATH
138- $ pylsp --version # verify pylsp installation is successful
139- ```
140-
141- * Verify the installation:
142- ```
143- # start from abcoder repository root dir
144- $ go build
145- $ ./
146- ```
122+ | Go | ✅ | ✅ |
123+ | Rust | ✅ | Coming Soon |
124+ | C | ✅ | Coming Soon |
125+ | Python | ✅ | Coming Soon |
147126
148- ## Rust
149- * Install the rust language via [ rustup] ( https://www.rust-lang.org/tools/install ) .
150- * Install the language server: rust-analyzer:
151- ``` bash
152- $ rustup component add rust-analyzer
153- ```
154- * Verify installation:
155- ``` bash
156- $ go build
157- $ ./abcoder parse rust testdata/rust2
158- ```
159127
160128# Getting Involved
161129
0 commit comments