File: README.md

package info (click to toggle)
acl2 8.6%2Bdfsg-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,138,276 kB
  • sloc: lisp: 17,818,294; java: 125,359; python: 28,122; javascript: 23,458; cpp: 18,851; ansic: 11,569; perl: 7,678; xml: 5,591; sh: 3,978; makefile: 3,840; ruby: 2,633; yacc: 1,126; ml: 763; awk: 295; csh: 233; lex: 197; php: 178; tcl: 49; asm: 23; haskell: 17
file content (29 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Example server

This directory contains an example service handler plus some Python
code that interfaces with it.

To provide more functionality, one can modify the `handle-request`
function in `handler.lsp` and add additional cases. This file will be
interpreted in Common Lisp rather than ACL2's `ld`.

## Building

Before running the demo, one should build the image for the ACL2 side
of the demo. This can be done by running `make` in this directory,
assuming that one has defined the `ACL2_SYSTEM_BOOKS` environment
variable to point to the `books` directory of the ACL2 repo, and one
has built an ACL2 image.

## Running

To run the demo, run `python demo.py` in this directory. It should
print something of the form:

```
('OK', 'Echo!')
('OK', 'HVnlX')
```

where the second line may have a different value for the second tuple
element.