Fork me on GitHub
#babashka
<
2020-03-15
>
mauricio.szabo14:03:58

Hi there. Recently, some friends were trying to make a Clojure implementation for a different runtime... Then I remembered babaska and SCI. Would it be easier to star a new implementation using the parser / macro expander, etc of sci or bb, or am I waaaay off-track? Because starting a new implementation based on Clojure source code seems so much work...

mauricio.szabo15:03:27

I think they were trying to migrate to dart. Some were trying to experiment with wasm or Python too

borkdude15:03:01

@mauricio.szabo Nowadays you can use sci from C / C++ / Rust, etc. https://github.com/borkdude/sci/blob/master/doc/libsci.md That's the closest thing I can think of of using sci from those kinds of envs

mauricio.szabo16:03:49

@borkdude well, to be honest, I was thinking on the reverse direction: to use sci / babaska to generate core (or bytecode) on other envs :)

borkdude16:03:16

I guess you could take sci as an example, but it's an interpreter, not a compiler. Maybe Clojure itself comes closer. "Just" generate machine code instead of JVM byte code 😛

borkdude16:03:47

I don't think it's usable for that purpose as is.

borkdude19:03:04

is anyone else interested in file watcher functionality in bb? https://github.com/borkdude/babashka/issues/290#issuecomment-599193052

sogaiu22:03:55

i am but the last time i looked into filewatcher stuff based on jvm-ish things i didn't find something that worked well on 3 platforns.

borkdude22:03:11

might wanna add that to the issue

borkdude22:03:38

could you try the script in the issue on Windows if you have such env within reach?