https://github.com/settinghead/meteor-clojurescript-core
ClojureScript's cljs.core support for Meteor
https://github.com/settinghead/meteor-clojurescript-core
Last synced: about 1 year ago
JSON representation
ClojureScript's cljs.core support for Meteor
- Host: GitHub
- URL: https://github.com/settinghead/meteor-clojurescript-core
- Owner: settinghead
- Created: 2015-11-03T02:05:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-03T02:32:25.000Z (over 10 years ago)
- Last Synced: 2025-01-14T19:12:14.609Z (over 1 year ago)
- Language: JavaScript
- Size: 219 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ClojureScript `cljs.core` for Meteor
==
(Highly experimental) ClojureScript core functionalities based on [cljs-bootstrap](https://github.com/swannodette/cljs-bootstrap). No JVM is required.
# Installation
In your project folder
```bash
meteor add settinghead:cljs-core
```
Create a file with extension `.cljs`, e.g.
```Clojure
(enable-console-print!)
(defn say-hello []
(println "hello!"))
(defn inc-all [nums]
(map inc nums))
(.startup js/Meteor say-hello)
(.startup js/Meteor #(println (inc-all [1 3 5 9])))
```
# Project status: highly experimental
I only managed to get `cljs.core` working and haven't tested the ClojureScript integration extensively or in production mode. Pull requests on improvement are welcome.