Lisp的语言服务LSP,VSCode的插件Alive所需要的lisp软件包,可以用quicklisp安装
资源文件列表(大概)
.vscode/settings.json
542B
src/compat/sbcl/file.lisp
5.61KB
src/compat/sbcl/streams.lisp
3.21KB
src/compat/sbcl/symbols.lisp
988B
src/compat/sbcl/threads.lisp
272B
src/compile-message.lisp
494B
src/lsp/completions.lisp
11.61KB
src/lsp/definition.lisp
817B
src/lsp/errors.lisp
1.82KB
src/lsp/message/abstract.lisp
1.66KB
src/lsp/message/format-utils.lisp
917B
src/lsp/message/notification.lisp
801B
src/lsp/message/request.lisp
783B
src/lsp/message/response.lisp
5.44KB
src/lsp/packet.lisp
1.08KB
src/lsp/sem-analysis.lisp
15.17KB
src/lsp/types/config-item.lisp
354B
src/lsp/types/format-options.lisp
324B
src/lsp/types/restart-info.lisp
402B
src/lsp/types/sem-tokens.lisp
2.08KB
src/parse/form.lisp
1.94KB
src/parse/forms.lisp
11.3KB
src/parse/token.lisp
2.1KB
src/parse/tokenizer.lisp
8.96KB
src/session/handler/asdf.lisp
1.34KB
src/session/handler/compile.lisp
2.44KB
src/session/handler/document.lisp
9.19KB
src/session/handler/eval.lisp
1.8KB
src/session/handler/form-bounds.lisp
2.05KB
src/session/handler/init.lisp
2.18KB
src/session/handler/inspect.lisp
8.05KB
src/session/handler/macro.lisp
1.34KB
src/session/handler/packages.lisp
1.38KB
src/session/handler/symbol.lisp
1.31KB
src/session/handler/threads.lisp
1.69KB
src/session/handler/utils.lisp
495B
src/session/handlers.lisp
1.04KB
src/session/message-loop.lisp
2.76KB
src/session/message.lisp
1.95KB
src/session/network-state.lisp
1.28KB
src/session/refresh.lisp
907B
src/session/spawn.lisp
1.85KB
src/session/state.lisp
7.17KB
src/session/threads.lisp
4.69KB
src/session/transport.lisp
1.48KB
src/sys/streams.lisp
3.25KB
test/asdf/load.lisp
1.41KB
test/compat/sbcl/compile.lisp
2.56KB
test/compat/sbcl/symbols.lisp
311B
test/files/compile/broken.lisp
494B
test/files/compile/foo.lisp
156B
test/files/compile/load-errors.lisp
139B
test/files/compile/load-ok.lisp
139B
test/files/compile/parens.lisp
124B
test/files/compile/test.lisp
826B
test/files/debugger-test.lisp
1.12KB
test/files/parse/foo.lisp
341B
test/format/format-utils.lisp
792B
test/format/on-type.lisp
981B
test/format/range.lisp
21.8KB
test/inspector.lisp
4.74KB
test/lsp/completions.lisp
3.76KB
test/lsp/hover.lisp
1.16KB
test/lsp/packet.lisp
1.5KB
test/lsp/sem-analysis.lisp
6.51KB
test/lsp/sem-tokens.lisp
61.09KB
test/parse/forms.lisp
23.89KB
test/parse/tokens.lisp
8.54KB
test/selection.lisp
2.92KB
test/session/handler/asdf.lisp
1.05KB
test/session/handler/compile.lisp
1.77KB
test/session/handler/document.lisp
8.29KB
test/session/handler/eval.lisp
2.1KB
test/session/handler/form-bounds.lisp
2KB
test/session/handler/init.lisp
904B
test/session/handler/inspect.lisp
5.18KB
test/session/handler/macro.lisp
2.83KB
test/session/handler/packages.lisp
1.69KB
test/session/handler/symbol.lisp
1.3KB
test/session/handler/threads.lisp
1.88KB
test/session/handler/utils.lisp
452B
test/session/handlers.lisp
726B
test/session/message-loop.lisp
3.78KB
test/session/message.lisp
2.32KB
test/session/refresh.lisp
1.49KB
test/session/state.lisp
5.58KB
资源内容介绍
https://github.com/nobody-famous/alive-lsp采用git archive生成,时间2024-07-18 17:30 Alive Language Server=====================This is the language server for [Alive: The Average Lisp VSCode Environment](https://github.com/nobody-famous/alive).## Running the serverFor newcomers it could be difficult to start with Common LISP specially if the tech stack is not known yet. These instructions helps to have the server up and running as easy as possible. Steps are:1. Install your LISP Implementation2. Install a library/package manager3. Clone this repository4. Load the `alive-lsp` project and start the server### Install your LISP ImplementationHere let's assume we install [sbcl](https://www.sbcl.org/)```bash# debianapt-get install sbcl# macosbrew install sbcl```### Install a library/package managerHere let's assume we use [quicklisp](https://www.quicklisp.org/beta/)```bashcurl -O https://beta.quicklisp.org/quicklisp.lispcurl -O https://beta.quicklisp.org/quicklisp.lisp.ascgpg --verify quicklisp.lisp.asc quicklisp.lispsbcl --load quicklisp.lisp# ....* (quicklisp-quickstart:install)# it is also advisable to:* (ql:add-to-init-file)```### Clone this repositoryPrevious step should have created a directory in your home directory: `~/quicklisp`, unless you decided to install it in another directory```(quicklisp-quickstart:install :path "~/.quicklisp")```just keep in mind the directory, let's called here `$QUICKLISP_HOME`. Let's clone this repository in `$QUICKLISP_HOME/local-projects`, so that it will be discovered automatically by Quicklisp when loading the project:```bashgit clone git@github.com:nobody-famous/alive-lsp.git $QUICKLISP_HOME/local-projects/alive-lsp```### Load the `alive-lsp` project and start the server```bashsbclThis is SBCL 2.2.11, an implementation of ANSI Common Lisp.More information about SBCL is available at <http://www.sbcl.org/>.SBCL is free software, provided as is, with absolutely no warranty.It is mostly in the public domain; some portions are provided underBSD-style licenses. See the CREDITS and COPYING files in thedistribution for more information.* (ql:quickload "alive-lsp")To load "alive-lsp": Load 1 ASDF system: alive-lsp; Loading "alive-lsp".("alive-lsp")* (alive/server::start :port 8006)#<SB-THREAD:THREAD "Alive LSP Server" RUNNING {70069B3BE3}>```Your language server works! You can stop it now (Ctrl + C) and proceed to properly configure you Alive Extension in vscode:```json{ "alive.lsp.startCommand": [ "sbcl", "--eval", "(require :asdf)", "--eval", "(asdf:load-system :alive-lsp)", "--eval", "(alive/server:start)" ]}```note that `alive.lsp.startCommand` could also be the one used before in the REPL session, something like:```json{ "alive.lsp.remote.port": "8006", "alive.lsp.startCommand": [ "sbcl", "--noinform", "--eval", "ql:quickload \"alive-lsp\")", "--eval", "(alive/server::start :port 8006)" ]}```just be sure to also configure the port if you specify one on the command for starting the server.## Using the server outside of vscodeTake a look at thread [#31](https://github.com/nobody-famous/alive-lsp/issues/31)## Developing Alive-lsp CodeIf you are interesting in making changes to Alive-lsp you should take a look at the [Development Notes](README-dev.md).