We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Swearjure

From Esolang
Jump to navigation Jump to search

Swearjure is an esoteric subset of Clojure, that comes from the restriction of not using alphanumeric characters. It was invented in November 2012.

Description

The most important part of Swearjure is to avoid using alphanumeric characters, other than that it has to be a valid Clojure program.

Examples

Numbers:

(+) ;=> 0
(*) ;=> 1
(+ (*) (*)) ;=> 2

Factorial:

(#((% (+)) % (`[~@%&] (+))); Call factorial with all fns and n

 [#((% ({(+) (*)} (`[~@%&] (+)) (+ (*) (*))))
    % (`[~@%&] (+)))
  #({} %& (*))
  #(* (`[~@%&] (+))
    ((% (+)) %  (- (`[~@%&] (+)) (*))))]
6)

See also

External Links