Hi,
Are there any active efforts to compile clj/cljs to Erlang/Beam ?
## Pre-emptive responses:
* I'm aware of http://lfe.github.io/ . It's not what I want. After
programming in Clojure, I find normal lisp ugly in comparison. I
want clojure syntax.
* I'm aware I will lose STM + Agents.
2014-02-23 13:40 GMT+04:00 t x txrev...@gmail.com:
Thus, my question -- are there any active efforts to port clojure
(say via cljs's compiler) to Erlang/Beam ?
Take a look at Joxa:
http://joxa.org/
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
--
You received
http://docs.joxa.org/en/latest/language.html looks amazing.
Thanks!
On Sun, Feb 23, 2014 at 1:54 AM, Michael Klishin
michael.s.klis...@gmail.com wrote:
2014-02-23 13:40 GMT+04:00 t x txrev...@gmail.com:
Thus, my question -- are there any active efforts to port clojure
(say via cljs's
Hi, I've written a macro to build inline expanded math expressions and
it's working well in Clojure, however fails with a compile exception
in CLJS. I'm not sure if this is a shortcoming of the CLJS compiler or
(much more likely) a mistake with my macro.
(ns macromath.core)
(defmacro defmathop
Btw. My cljs example above is slightly wrong due to my simplifying the
email example. I originally used this ns declaration
(ns macromath.test
(:require-macros [macromath.core :as m]))
...and then of course referred to (m/madd ...)
But the issue remains regardless...
On 23 Feb 2014 15:59,
Hi,
thanks again for the kind words and enthusiasm! Let me try and give my
thoughts on some of the points raised:
** Light table plugin (@Patrik) **
I would like to see this, as I think LT has a lot of potential. Things like
file-handling UI, nice code editing ... are all difficult problems
re LT: It'd be a natural thing to dig into if/when you look to move to cljs.
For the context at hand I think of an LT plugin as something that:
- is easy to edit code/text in
- has access to ways of executing remote code via nrepl and get back
results
- have access to files and resources etc via
Hello Jony
It would be nice to make some cooperation between the Gorilla's Charsts
Incanter's. Right now, there is discussion in Incanter mailing list, about
implementing different backends for charts, so it would be possible to
generate them for JFreeChart, D3, etc.
On Sun, Feb 23, 2014 at
After taking another look through cljs.core I managed to reformulate
my macro using js* templates, but am still wondering why the normal
(and cross-platform) solution doesn't work and also if using the js*
way is actually safe in the future (i.e. not just a current
implementation detail)?
You shouldn't use js*, and in this case it can be avoided. The problem
you're encountering is a long outstanding wart that ClojureScript macros
resolve symbols in Clojure not ClojureScript. Instead of + (which is
actually clojure.core/+) you want to specify cljs.core/+:
(defmathop cljs.core/+
Thanks, David! I tried that already and it didn't work:
clojure.lang.Compiler$CompilerException:
java.lang.ClassNotFoundException: cljs.core,
compiling:(macromath/macros.clj:58:1)
I also tried to require cljs.core in that macro's namespace, but then
it complains this way:
I think your unquoting needs tweaking?
(defmacro defmathop
Constructs a macro to build inlined nested expressions with f applied
to inner pairs and f2 to combine results.
[name f f2]
`(defmacro ~name
([a# b# c#] `(~'~f2 (~'~f ~a# ~b#) ~c#))
([a# b# c# d#] `(~'~f2 (~'~f ~a# ~b#)
I'm having trouble with the Om basic tutorial Higher Order
Componentshttps://github.com/swannodette/om/wiki/Basic-Tutorial#wiki-higher-order-components
using
emacs and a slightly modified version
of https://github.com/magomimmo/om-start-template that points to Om 0.5.0
and React 0.9.0.
My
The issue is that advanced compilation produces a single artifact.
David
On Sun, Feb 23, 2014 at 8:22 PM, boz b...@cox.net wrote:
I'm having trouble with the Om basic tutorial Higher Order
Componentshttps://github.com/swannodette/om/wiki/Basic-Tutorial#wiki-higher-order-components
using
Just a heads up for anyone interested in creating their new project(s)
in a literal programming style with org-mode:
I've just pushed a new configurable Leiningen project template to
Clojars which creates a bunch of .org files together with a suitable
tangle script to generate (and regenerate) a
Oh man, I really do have to spend some more quality time with
macroexpand-1 to fully grok those ~'~ forms, and - thank you - that
change does work indeed! But then why does my original version work in
Clojure? A change in quoting usually only causes havok/failure, but
here it doesn't seem to...
Thanks for the note about operational transform (OT). I had not heard of it
before. From some casual reading, OT appears to focus on the problem of
collaborative document editing. I assume that Share.js extends this to
structured json? This is definitely something I think a lot of people would
Hello Clojure users!
I have a problem with running
*$lein repl*
After some time I get: *REPL server launch timed out.*
*$lein run myproject* works fine
Leiningen and Java versions are:
*$lein versionLeiningen 2.3.4 on Java 1.7.0_21 OpenJDK Client VM*
I tried deleting stuff in ~/.lein but it
Thanks for this David. I spent a few hours adapting your Om tutorials to an
app that reads and edits ID3 media tag metadata coming from the server
side, I'll try adapting it to use om-sync.
Good to see obviously reusable stuff such as your edn-xhr helper getting
the util treatment as well.
Here are some functional programming job opportunities that were posted
recently:
Experienced Clojure/Datomic Engineer Full Time or Contracting at Listora
http://functionaljobs.com/jobs/8683-experienced-clojure-datomic-engineer-full-time-or-contracting-at-listora
Clojure Developer at
lein-garden the plugin for automatically compiling Garden stylesheets has
been updated to version 0.1.6.
https://github.com/noprompt/lein-garden
This release fixes a bug where an unnecessary exception would be thrown for
valid identifiers.
--
You received this message because you are
21 matches
Mail list logo