Nope!

From Esolang
Jump to navigation Jump to search
Not to be confused with Nope., nor nope.

Nope! is an esolang created by User:None1 and inspired by NULL-NONE-BF and !!Fuck, it is a Trivial brainfuck substitution.

Commands

Commands in Nope!
Nope! brainfuck
Nope! +
Nope. Nope! -
Nope. Nope. Nope! <
Nope. Nope. Nope. Nope! >
Nope. Nope. Nope. Nope. Nope! ,
Nope. Nope. Nope. Nope. Nope. Nope! .
Nope. Nope. Nope. Nope. Nope. Nope. Nope! [
Nope. Nope. Nope. Nope. Nope. Nope. Nope. Nope! ]


Commands are separated by spaces.

Examples

Hello World

Nope! Nope! Nope! Nope! Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope! Nope! Nope. Nope. Nope. Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope! Nope! Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope! Nope. Nope. Nope. Nope! Nope! Nope. Nope. Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope! Nope! Nope! Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope! Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope! Nope! Nope! Nope. Nope. Nope. Nope. Nope. Nope!

Cat program

Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope! Nope. Nope. Nope. Nope. Nope. Nope. Nope. Nope!

Interpreter

#!/usr/bin/ruby
eval 'm=Hash.new(p=0);'+ARGF.read
    .gsub(/Nope[.!]|./i,Hash.new{|_, k| (k.length>1)?k[-1]:''; }).gsub(/\n/,'')
    .gsub(/\.*!|./,
         '!' => 'm[p]+=1;',
         '.!' => 'm[p]-=1;',
         '..!' => 'p-=1;',
         '...!' => 'p+=1;',
         '....!' => 'm[p]=STDIN.getbyte if !STDIN.eof;',
         '.....!' => 'putc m[p];',
         '......!' => '(',
         '.......!' => ')while((m[p]&=255)!=0);'
         )

Turing completeness

Since any program in BF can be translated to Nope!, Nope! IS Turing complete.

See also