Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sbekrin/cljs-babel

[λ] Experimental ClojureScript to JavaScript compiler based on Babel
https://github.com/sbekrin/cljs-babel

cljs clojure clojurescript compiler es5 javascript javascript-compiler js parser

Last synced: 3 months ago
JSON representation

[λ] Experimental ClojureScript to JavaScript compiler based on Babel

Awesome Lists containing this project

README

        


logo

ClojureScript as Babel preset


Experemental ClojureScript to JavaScript compiler
based on Babel ecosystem without binary dependencies.

## Getting started

1. Install `babel-preset-cljs`:

```sh
yarn add --dev babel-preset-cljs
```

2. Add this preset to you `.babelrc`:

```json
{
"presets": ["cljs"]
}
```

## References

- [cljs-compiler](https://github.com/alanshaw/cljs-compiler)
- [tiny-lisp](https://github.com/daynin/tiny-lisp)
- [Babel](https://github.com/babel/babel)
- [ClojureScript API](http://cljs.github.io/api)
- [ClojureScript Cheatsheet](http://cljs.info/cheatsheet)
- [AST Explorer](https://astexplorer.net)

## License

[MIT](https://github.com/sergeykrinbe/cljs-compiler/blob/master/LICENSE) ©
Sergey Bekrin