Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 56cd646

Browse files
arichiardibbatsov
authored andcommitted
Add self-host doc in README and myself as contributor
1 parent 70958a3 commit 56cd646

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,29 @@ cljs-tooling.complete> (completions @cljs.env/*compiler* "al" 'cljs.core)
4141
=> ("alength" "alter-meta!")
4242
```
4343

44+
### Self-host ClojureScript
45+
46+
This library is compatible with self-host ClojureScript. In order to try it out in `lumo`, for instance, just do:
47+
48+
```shell
49+
lumo -c $(clojure -Sdeps '{:deps {cljs-tooling {:mvn/version "X.Y.Z"}}}' -Spath)
50+
```
51+
52+
```clojure
53+
cljs.user=> (require '[cljs-tooling.complete :as ctc])
54+
nil
55+
cljs.user=> (ctc/completions @cljs.env/*compiler* "al" 'cljs.core)
56+
cljs.user=> (ctc/completions @cljs.env/*compiler* "al" 'cljs.core)
57+
=> ({:candidate "alength", :type :function, :ns cljs.core}
58+
{:candidate "alter-meta!", :type :function, :ns cljs.core})
59+
```
60+
4461
## Contributors
4562

4663
* [Gary Trakhman](http://github.com/gtrak)
4764
* [Michael Griffiths](http://github.com/cichli)
4865
* [Juho Teperi](http://github.com/Deraen)
66+
* [Andrea Richiardi](http://github.com/arichiardi)
4967

5068
## License
5169

0 commit comments

Comments
 (0)