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