Skip to content

Commit 89377b5

Browse files
committed
chore: update pylsp and docs
1 parent c421167 commit 89377b5

2 files changed

Lines changed: 33 additions & 1 deletion

File tree

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ 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.
2829

2930
## Use ABCoder as a MCP server
3031

@@ -124,6 +125,37 @@ ABCoder currently supports the following languages:
124125
| C |||
125126
| Python | Coming Soon | Coming Soon |
126127

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+
```
147+
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+
```
127159

128160
# Getting Involved
129161

pylsp

Submodule pylsp updated 65 files

0 commit comments

Comments
 (0)