cljs-dev

ClojureScript compiler & std lib dev, https://clojurescript.org/community/dev
dnolen 2021-01-19T14:56:20.019400Z

@borkdude oh self-host

dnolen 2021-01-19T14:56:26.019700Z

patch welcome for that one looks trivial

borkdude 2021-01-28T22:34:58.015700Z

I looked briefly into this. One issue is that CLJS doesn't support :use.

(:use [clojure.core.match :exclude [match matchv match-let matchm]])
It seems to load all kinds of dynamic vars from another clojure file. When I change the clause to:
(:require [clojure.core.match])
it gets stuck in a loop since it's trying to load itself, it seems. So maybe not so trivial. It seems @viebel made an entire fork of core.match to make it work with self-hosted: https://github.com/viebel/abbinare I was merely interested in trying this from a CLJS repl, that's why I tried to run it in plk, I wasn't really after self-hosted compatibility for myself, so it's not a huge issue for me.

borkdude 2021-01-28T22:36:12.016300Z

I found another issue which is relatively trivial to fix: https://clojure.atlassian.net/browse/MATCH-127

borkdude 2021-01-28T22:40:24.016500Z

I see Yehonathan already made an issue for self-hosted: https://clojure.atlassian.net/browse/MATCH-116