From Esolang
Jump to: navigation, search

!!SuperPrime is a language created by anonymous Esolangs user in which the empty program is a prime checker.

The only command is a line of no characters.

An implementation in Pyth


Or, an alternate implementation in J:

SP =: (0 0$0)"_`(1&p:@[)@.(''-:])

Call like:

input SP program


   2 SP 
   2 SP '4'
   3 SP '4'
   4 SP '4'
   4 SP