This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-19
Channels
- # announcements (1)
- # asami (75)
- # beginners (16)
- # calva (14)
- # cider (4)
- # clj-kondo (11)
- # cljs-dev (3)
- # clojure (110)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (38)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-taiwan (1)
- # clojure-uk (2)
- # clojurescript (34)
- # conjure (1)
- # data-science (9)
- # datahike (7)
- # datalevin (1)
- # datascript (1)
- # datomic (5)
- # etaoin (1)
- # fulcro (23)
- # graalvm (50)
- # helix (4)
- # hyperfiddle (8)
- # introduce-yourself (1)
- # jobs (3)
- # kaocha (10)
- # malli (8)
- # mid-cities-meetup (1)
- # minecraft (1)
- # off-topic (13)
- # pathom (14)
- # polylith (38)
- # reitit (1)
- # releases (1)
- # sci (65)
- # shadow-cljs (28)
- # specter (12)
- # tools-deps (8)
- # vim (1)
- # vscode (11)
- # xtdb (31)
Someone here knows WASM with emscripten? The trouble - I'm interfacing via stdin with a library, but emscripten API for it is synchronous, and the input I need to send to it is async π
Hi all! Somebody knows how to build a REPL on top of a compiled language? Can you recommend me a simple tutorial or a book to achieve it? I'm curious on how to build a Clojure-like REPL, i mean, you have a running program and a file with some definitions, then connect a REPL, switch to that namespace, redefine an existing value/fn and the current running program didn't stopped but executes the new definition given. Thanks!
The language runtime has to support something like a var indirection to make this work properly
Somewhat related - there's something like it for C++ but of course they had to implement their own runtime: https://root.cern/cling/
Sounds harder than I expected. I thought that someone without a lot of effort could create a simple REPL in any compiled language (C, C#, Rust, etc). Thanks, I'll read more about it
@U02N27RK69K pretty interesting π
@U0JUM502E That is exactly what I was looking for! Thanks!! π
@U02TF2JU3M4 That wasn't obvious to me at all, that you wanted to write an embedded Lisp, but now it makes sense ;)
https://github.com/kanaka/mal not sure how many of these have REPLs, but there's a wide range of implementations here
@UFTRLDZEW oh wow! There are a lot of them. Definitely helps, thanks!