Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the lime Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Wed Jun 15 04:56:56 2022 GMT+0.
Next: Systems, Previous: The lime Reference Manual, Up: The lime Reference Manual [Contents][Index]
A Swank (SLIME) client for Common Lisp applications, built on swank-protocol. It can be used to connect to a remote or local Swank server, evaluate code, and receive responses for printing to the screen, handling debugger events, etc.
To load and run the REPL example, do this:
(ql:quickload :lime-example)
(lime-example:repl)
It works as you'd expect:
CL-USER> (lime-example:repl)
Starting Swank server...
Connecting...
Swank server running on sbcl 1.2.9
COMMON-LISP-USER> (+ 2 2)
4
COMMON-LISP-USER>
Like SLIME, but without the leading S. No relation to the text editor.
Copyright (c) 2015 Fernando Borretti
Licensed under the MIT License.
Next: Modules, Previous: Introduction, Up: The lime Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
A high-level Swank client, like Slime, but for Common Lisp applications.
Fernando Borretti <eudoxiahp@gmail.com>
Fernando Borretti <eudoxiahp@gmail.com>
(GIT git@github.com:eudoxia0/lime.git)
MIT

# Lime
[](https://travis-ci.org/eudoxia0/lime)
[](https://coveralls.io/r/eudoxia0/lime?branch=master)
[](http://quickdocs.org/lime/)
A Swank ([SLIME][slime]) client for Common Lisp applications, built on
[swank-protocol][swank-protocol]. It can be used to connect to a remote or local
Swank server, evaluate code, and receive responses for printing to the screen,
handling debugger events, etc.
# Usage
## Example
To load and run the REPL example, do this:
“‘lisp
(ql:quickload :lime-example)
(lime-example:repl)
“‘
It works as you’d expect:
“‘lisp
CL-USER> (lime-example:repl)
Starting Swank server...
Connecting...
Swank server running on sbcl 1.2.9
COMMON-LISP-USER> (+ 2 2)
4
COMMON-LISP-USER>
“‘
# Name
Like SLIME, but without the leading S. No relation to
[the text editor][lime-text].
[slime]: https://github.com/slime/slime
[swank-protocol]: https://github.com/eudoxia0/swank-protocol
[lime-text]: http://limetext.org/
# License
Copyright (c) 2015 Fernando Borretti
Licensed under the MIT License.
0.1
src (module).
Next: Files, Previous: Systems, Up: The lime Reference Manual [Contents][Index]
Modules are listed depth-first from the system components tree.
Next: Packages, Previous: Modules, Up: The lime Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Previous: lime/lime.asd, Up: Lisp [Contents][Index]
src (module).
lime.
parse-event (function).
Next: Definitions, Previous: Files, Up: The lime Reference Manual [Contents][Index]
Packages are listed by definition order.
A high-level Swank client.
common-lisp.
parse-event (function).
Next: Indexes, Previous: Packages, Up: The lime Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Generic functions, Previous: Public Interface, Up: Public Interface [Contents][Index]
T if the connection is in the debugger, NIL otherwise.
Send a string to the Swank server for evaluation.
Create a connection object.
Return a list of all events from the connection.
Send a string to the Swank server’s standard input.
Next: Standalone methods, Previous: Ordinary functions, Up: Public Interface [Contents][Index]
lime.
The depth at which the debugger is called.
lime.
The name of the implementation running the Swank server.
lime.
The version string of the implementation running the Swank server.
lime.
The server machine’s architecture.
lime.
The server machine’s processor type.
lime.
The PID of the Swank server process.
lime.
Whether or not the server is waiting for input on standard input.
lime.
The server’s Swank version.
lime.
An association list of a stack frame’s position to its description.
lime.
A list of strings describing the condition.
lime.
The full name of the new package.
lime.
The name that should be displayed in the
REPL. If the package has periods in the name, this is usually the subsequence
after the last period, e.g: ’app.db.user’ => ’user’.
lime.
An association list of restart names to descriptions.
lime.
The string to write.
Next: Classes, Previous: Generic functions, Up: Public Interface [Contents][Index]
After connecting, query the Swank server for connection information and create a REPL.
swank-protocol.
Print a debugger event.
Print a switch-package event.
Print a write-string event.
Previous: Standalone methods, Up: Public Interface [Contents][Index]
A connection to a Swank server.
lime.
connection.
The depth at which the debugger is called.
integer
0
Whether or not the server is waiting for input on standard input.
boolean
The PID of the Swank server process.
integer
The name of the implementation running the Swank server.
string
The version string of the implementation running the Swank server.
string
The server machine’s architecture.
common-lisp.
string
The server machine’s processor type.
common-lisp.
string
The server’s Swank version.
string
Signals that the debugger has been entered.
lime.
A list of strings describing the condition.
common-lisp.
(trivial-types:proper-list string)
:condition
This slot is read-only.
An association list of restart names to descriptions.
(trivial-types:association-list string string)
:restarts
This slot is read-only.
An association list of a stack frame’s position to its description.
(trivial-types:association-list integer string)
:call-stack
This slot is read-only.
Signals that the server is waiting for input.
An event that indicates the inferior Lisp has changed its current package.
lime.
The full name of the new package.
common-lisp.
string
:package-name
This slot is read-only.
The name that should be displayed in the
REPL. If the package has periods in the name, this is usually the subsequence
after the last period, e.g: ’app.db.user’ => ’user’.
string
:prompt-string
This slot is read-only.
A write-string event.
Previous: Definitions, Up: The lime Reference Manual [Contents][Index]
Jump to: | (
A C D E F G M P S |
---|
Jump to: | (
A C D E F G M P S |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | C D I M P R S |
---|
Jump to: | C D I M P R S |
---|
Jump to: | C D E F L M P R S W |
---|
Jump to: | C D E F L M P R S W |
---|