exercism

Bobbi Towers 2023-04-17T01:29:19.350179Z

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 Towers 2023-04-17T01:40:59.439609Z

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 Towers 2023-04-17T01:44:50.897099Z

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 Towers 2023-04-17T01:46:22.497159Z

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

Bobbi Towers 2023-04-17T01:50:17.199899Z

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 Towers 2023-04-19T17:21:24.963079Z

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