Klipse

I was looking through my file of blog ideas and found an interesting post about the Klipse plugin. The idea is that Klipse allows a blog post—or any Web page—to contain live code examples. Live code examples are just code snippets but with the additional feature that the reader can edit the example and have the result automatically recalculated.

This type of capability is ideal for language tutorials. Here’s an Interactive overview of Scheme’s semantics that illustrates the idea. It’s really easy to build posts like this. You can take a look at the Klipse plugin link or check out the README at the Klipse GitHub repository for the details.

Klipse supports:

  • Javascript
  • Clojure
  • Ruby
  • C++
  • Python
  • Scheme
  • Common Lisp
  • PHP
  • BrainFuck
  • JSX
  • EcmaScript2017
  • Google Charts

All the examples show retrieving the plugin from the Klipse repository but you can also host it locally if you prefer.

This entry was posted in Blogging. Bookmark the permalink.