An open API service indexing awesome lists of open source software.

https://github.com/ericdallo/nrepl-graalvm-sample

Sample project testing graalvm compilation with nrepl
https://github.com/ericdallo/nrepl-graalvm-sample

Last synced: 2 months ago
JSON representation

Sample project testing graalvm compilation with nrepl

Awesome Lists containing this project

README

          

# nrepl-graalvm-sample

Sample project that tests [nrepl/nrepl](https://github.com/nrepl/nrepl) usage with a native image compiled with GraalVM.

## Usage

1. Build a local jar of [this PR](https://github.com/nrepl/nrepl/pull/258) as it contains the necessary fixes for graalvm compilation.

2. Run the script to generate the jar and then compile with graalvm.

```bash
bash ./graalvm/native-unix-compile.sh
```

3. If everything goes well, it should generate a `nrepl-graalvm-sample` executable on the root of this project where you can run and see:

```
Evaluated sucessfully: [7]
```

`

## License

Copyright © 2021 Eric Dallo

_EPLv1.0 is just the default for projects generated by `clj-new`: you are not_
_required to open source this project, nor are you required to use EPLv1.0!_
_Feel free to remove or change the `LICENSE` file and remove or update this_
_section of the `README.md` file!_

Distributed under the Eclipse Public License version 1.0.