Skip to content

Commit

Permalink
Document how to build and run the playground
Browse files Browse the repository at this point in the history
  • Loading branch information
larsga committed Nov 2, 2020
1 parent 33652f0 commit d60ecc0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ Developing a language for JSON processing: [video of
talk](https://vimeo.com/289470470), [slides
only](https://www.slideshare.net/larsga/jslt-json-querying-and-transformation).

[Running the playground yourself](playground/README.md)

Anthony Sparks is working on a
[VM-based implementation in Java](https://github.com/tonysparks/jslt2)

Expand Down
19 changes: 19 additions & 0 deletions playground/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# JSLT Playground

To build the playground yourself, simply do:

```
./gradlew :playground:shadowJar
```

That will make the file `playground/build/libs/playground-0.0.1-all.jar`

To run it, give this command:

```
java -cp playground/build/libs/playground-0.0.1-all.jar no.priv.garshol.jslt.playground.PlaygroundServer 9999 &
```

Then go to `http://localhost:9999/jslt` and you'll have the playground
right there.

0 comments on commit d60ecc0

Please sign in to comment.