Fork me on GitHub
#exercism
<
2023-04-17
>
Bobbi Towers01:04:19

Another feature I'm working on is adding a SCI context to the online coding editor, to make it a proper Clojure coding environment rather than a glorified test runner.

Bobbi Towers01:04:59

This is an interesting problem, because Exercism is an existing Ruby on Rails app, with a React frontend. So the challenge has been just figuring out, how to ship it in the least "invasive" way, in a non-Clojure environment

Bobbi Towers01:04:50

My first idea was to use scittle. The prototype works great! Though this is not really ideal, because it would need to be injected into the site's HTML or something, idek

Bobbi Towers01:04:22

So it finally hit me, to just go all the way and release a Codemirror plugin, as an npm package

Bobbi Towers01:04:17

Nextjournal already made one that I forked to use as a template: https://github.com/bobbicodes/clojure-eval/ all I need to do is bang on it until it does what I want

Bobbi Towers17:04:24

I'm still trying to determine if my reasoning is sound - I've created npm packages using nbb before, but never one in which the interpreter is available at runtime