Swirl.jl - Interactive Julia Learning in the REPL πŸŒ€

Swirl.jl now supports multi-step code questions and full Markdown rendering! :cyclone:

Swirl.jl has just been updated with two major improvements:

:sparkles: Multi-step questions: you can now design exercises that require multiple code lines, with separate hints for each step. Perfect for walking learners through multi-part problems or short coding tasks.

:memo: Markdown rendering everywhere: lessons, questions, hints, and menus are now displayed with Markdown formatting, making everything cleaner and easier to read directly in the REPL.

The built-in Julia Basics course has been adapted to use these new features.
You can check it out in action here

5 Likes

Thanks for the great suggestion!
You can check out my latest post. I hope you’ll like the result.

There wasn’t really a strong reason those fields had to be String; I had chosen that early on because the classic runner simply used println everywhere. Now, Swirl.jl fully supports Markdown.MD in REPL mode, so lessons, questions and hints are all nicely rendered.

1 Like

I love this idea! Running Swirl in a ttyd container is brilliant. The REPL likely exits because ttyd isn’t fully interactive yet, I guess(?) Could you try swirl(use_repl_mode=:classic) for now and see how it goes?

21 posts were split to a new topic: Reliability of AI coding tools