Skip to content

Commit

Permalink
Merge pull request #1 from pink-gorilla/clojurescript
Browse files Browse the repository at this point in the history
ClojureScript support introduced
  • Loading branch information
deas committed Nov 12, 2019
2 parents 8122b83 + 90dd8b3 commit 4b0a135
Show file tree
Hide file tree
Showing 12 changed files with 1,540 additions and 21 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -8,3 +8,7 @@ pom.xml.asc
/.lein-*
/.nrepl-port
.DS_Store
/out
/.cljs_node_repl
/node_modules
/resources
36 changes: 30 additions & 6 deletions README.md
@@ -1,14 +1,38 @@
# gorilla-renderable
# Pinkgorilla renderable

- this project is part of [PinkGorilla Notebook](https://github.com/pink-gorilla/gorilla-notebook)
- data structures from clojure/clojurescript have to be converted to some kind
of visual repesentation so that the notebook can render them
- for all clojure/clojurescript datatypes default renderers are defined here
- custom data-types can implement the renderable protocol
- the notebook receves the render-datastructure and renders it to the notebook cell.

```
(defprotocol Renderable
(render [self]))
```

Clojure/Clojurescript Data => (render) => Renderable DataStructure => (render) => Notebook

## History

- This project origianlly comes from https://github.com/JonyEpsilon/gorilla-renderable
- It is forked to support new features in pink-gorilla.

## Unit Tests

Clojure:
```
NOT IMPLEMENTED
```

The protocol that must be implemented to enable custom rendering in
[Gorilla REPL](http://gorilla-repl.org).
Clojurescript:
```
lein doo
```


## History

- This project origianlly comes from https://github.com/JonyEpsilon/gorilla-renderable
- It is forked to support new features in pink-gorilla.


## Licence
Expand Down

0 comments on commit 4b0a135

Please sign in to comment.