Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
gbdrt committed Jan 7, 2021
1 parent a21aa12 commit 4886d21
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ dune build

This produces two executables (and some tools in `./tools`):
- `compiler/zeluc.exe`: native code
- `compiler/zeluc.bc`: byte code
- `compiler/zeluc.bc`: byte code (can be used with ocamldebug)

Libraries are split in two packages:
- `zelus`: the standard libraries
Expand All @@ -148,17 +148,6 @@ To launch a single subset:
dune run test/good
```

### Debug

To launch the OCaml debugger on the byte code version of the compiler, you need to set the environment variable `ZLLIB` to the location of the standard library.

```
export ZLLIB=`pwd`/_build/install/default/share/zelus
ocamldebug compiler/zeluc.bc test/good/t0.zls
```

Do not forget to unset `ZLLIB` before installing zelus.

## Citing Zelus

```
Expand Down

0 comments on commit 4886d21

Please sign in to comment.