lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
Jon 2017-12-21T04:46:30.000084Z

is lumo supporting macros differently, than JVM version of ClojureScript compiler?

Jon 2017-12-21T04:47:03.000111Z

I use m.cljs together with m.clj to define macros

Jon 2017-12-21T04:47:35.000146Z

and

Jon 2017-12-21T04:47:39.000041Z

(ns m.m
  (:require-macros [m.m]))

Jon 2017-12-21T04:47:48.000035Z

in m.cljs

Jon 2017-12-21T04:48:20.000125Z

which is best practice in shadow-cljs.

pesterhazy 2017-12-21T12:47:26.000060Z

@jiyinyiyong, have you seen this post? http://blog.fikesfarm.com/posts/2016-03-01-clojurescript-macro-sugar.html

2017-12-21T12:54:56.000004Z

I compiled lumo from current master (with latest clojurescript from current master as well) and I'm getting an error when trying to do:

(defn catch [x] x)
(catch 1)
;  No method in multimethod 'cljs.analyzer/parse' for dispatch value: catch at line 1...

Jon 2017-12-21T15:05:37.000013Z

@pesterhazy read it before when I want to write Macros in a REPL

Jon 2017-12-21T15:06:24.000546Z

now I have existing codebase compiled with shadow-cljs, so it was written in that way, rather than using :refer-macros.

cgrand 2017-12-21T20:40:43.000052Z

Any idea why these tests fail? It looks like if tests and error messages aren’t in sync. https://circleci.com/gh/anmonteiro/lumo/1136?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

2017-12-22T09:46:08.000318Z

Nice, was wondering also, seemd too random to not have been node at work here :)