Joker – small Clojure interpreter, linter and formatter

Joker is a lightweight Clojure interpreter, linter and formatter written in Go. It provides a convenient environment for running small scripts, experimenting with expressions and checking Clojure source code without starting a JVM.

The interpreter implements a substantial subset of Clojure, including familiar data structures, functions, macros and namespaces. It is designed for scripting and development tools rather than complete compatibility with Clojure. Certain language features and Java interoperability facilities are deliberately absent.

Joker is also useful as a source-code checking tool. Its linter reads individual files without running their contents and reports problems with locations in the source. It can analyse Clojure, ClojureScript and Joker code, although its understanding of external namespaces and user-defined macros is necessarily limited.

The project includes an interactive REPL, code formatting facilities and a task runner. This combination makes Joker more than a conventional linter, particularly for developers who want a compact scripting environment alongside everyday code analysis.

This is free and open source software.

Key Features

  • Interactive REPL for evaluating expressions and exploring the language.
  • Execute scripts, evaluate expressions and process code from standard input.
  • Lint Clojure, ClojureScript and Joker source code, with EDN reading checks.
  • Reports read and parse errors, warnings and source-code locations.
  • Recursively lint Clojure files within a directory.
  • Configurable recognition of external macros, namespaces and tagged literals to reduce false positives.
  • Format Clojure source code and pretty-print EDN data.
  • Namespaces can be extended by loading additional Joker source files.
  • Built-in task runner for executing named functions from project task files.
  • Editor integrations available for Emacs, Vim, Sublime Text, VS Code and Kakoune.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/candid82/joker
Support:
Developer: Roman Bataev
License: Eclipse Public License v1.0

Joker help

Joker is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Clojure Linter Tools
kibitStatic code analyzer for Clojure, ClojureScript, cljx and other Clojure variants
JokerSmall Clojure interpreter, linter and formatter
EastwoodInspects namespaces and reports possible problems
clj-kondoStatic analyzer and linter for Clojure
clojure-lspLanguage server providing Clojure and ClojureScript tooling
SplintFocuses on style and code shape
CarveFind and remove unused functions and namespaces in Clojure
clj-dependAnalyse and enforce namespace dependencies in Clojure projects

Read our verdict in the software roundup.

Clojure Code Formatters
cljfmtTool for detecting and fixing formatting errors in Clojure code
JokerSmall Clojure interpreter, linter and formatter
zprintReformat Clojure and Clojurescript source code
cljstyleSupports several different commands for checking source files.
Standard Clojure StyleJavaScript implementation of a formatter for Clojure source code

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted