Code Monkey home page Code Monkey logo

andare's Introduction

Andare

A fork of core.async ported for use with self-hosted ClojureScript.

Releases and Dependency Information

Clojars Project

Deps dependency information:

 {andare {:mvn/version "1.1.587"}}

Leiningen dependency information:

 [andare "1.1.587"]

Maven dependency information:

<dependency>
  <groupId>andare</groupId>
  <artifactId>andare</artifactId>
  <version>1.1.587</version>
</dependency>

Lumo

NPM Version

npm install andare

Usage

Andare preserves the namespaces present in core.async. Thus, bootstrap-compatible ClojureScript code that makes use of core.async can operate in self-hosted environments if you make the Andare artifact available for loading in lieu of the official core.async artifact.

Testing

Build Status

Self-Hosted ClojureScript

lein tach lumo

or

lein tach planck

JVM ClojureScript

lein cljsbuild once adv

Then open script/runtests.html

Clojure

lein test

License

Revisions in this fork: Copyright ยฉ 2016โ€“2020 Mike Fikes and Contributors

Distributed under the Eclipse Public License, the same as Clojure.

andare's People

Contributors

angusiguess avatar arichiardi avatar boogie666 avatar brianru avatar bronsa avatar ckampfe avatar deraen avatar filipesilva avatar ghadishayban avatar halgari avatar hiredman avatar levand avatar lgrapenthin avatar malesch avatar mfikes avatar puredanger avatar richhickey avatar sumbach avatar swannodette avatar thheller avatar timewald avatar travis avatar ubolonton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

andare's Issues

Quick-start documentation

I am having trouble figuring out how to use this module with lumo. I've tried searching for "lumo simple andare example" which does not yield much. I have lumo installed via npm and I can successfully run .cljs scripts by doing lumo myscript.cljs and import node modules from node_modules which have been installed with npm.

What steps do I need to take to integrate andare into this setup?

clojure.core.async-test/ops-tests failing

$ lein test :only clojure.core.async-test/ops-tests

lein test clojure.core.async-test

lein test :only clojure.core.async-test/ops-tests

FAIL in (ops-tests) (async_test.clj:288)
mult
expected: (= 1 (<!! t-1))
  actual: (not (= 1 3))

lein test :only clojure.core.async-test/ops-tests

FAIL in (ops-tests) (async_test.clj:290)
mult
expected: (= 1 (<!! t-2))
  actual: (not (= 1 nil))

lein test :only clojure.core.async-test/ops-tests

FAIL in (ops-tests) (async_test.clj:291)
mult
expected: (= 2 (<!! t-1))
  actual: (not (= 2 nil))

Ran 1 tests containing 33 assertions.
3 failures, 0 errors.
Tests failed.

analysis error with figwheel >= 5.5

Using either andare 0.1.0 or 0.2.0 fails when using figwheel 0.5.5 or later on cljs 1.9.229

----  Could not Analyze  target/out/cljs/core/async.cljs  ----
java.lang.RuntimeException: No such var: ioc/state-machine, compiling:(cljs/core/async/macros.clj:18:19)

which refers to:
9419fa0#diff-283073ca0e5bfffccdd5ce09cbcc002aL18

Presumably this is figwheel compiling andare .cljs using macros_.clj_ from its own core.async dep rather than macros_.cljc_ from andare

I saw this problem previously when you pushed 0.2.0, so I stuck with 0.1.0 which worked fine with figwheel 0.5.4-7 (whereas andare 0.2.0 raises above error). But now with latest figwheel, neither release works. I imagine excluding core async from fw would solve the problem but unfortunately leiningen plugin exclusions are currently broken

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.