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.

Permission denied

From Esolang
Jump to navigation Jump to search

Permission denied is the constant language ConstantLanguage("Permission denied"). No one has the permission to use this language, if they try to use it, it will print "Permission denied" without quotes.

Implementations

Python

This also works in Lua, Julia, Perl and Ruby.

print("Permission denied")

Python 2 version

print "Permission denied"

Ada

with Ada.Text_IO; use Ada.Text_IO;
procedure PermissionDenied is
begin
    Put_Line("Permission denied");
end;

Assembly

This was written in NASM assembly for Windows x86-64.

section .text
    extern GetStdHandle, WriteConsoleA
    global _main
_main:
    push rbp
    mov rbp, rsp
    sub rsp, 48
    mov rcx, 4294967285
    call GetStdHandle
    mov rcx, rax
    lea rdx, [rel msg]
    mov r8d, 18
    xor r9, r9
    mov [rsp + 32], 0
    call WriteConsoleA
    add rsp, 48
    pop rbp
    xor rax, rax
    ret
section .rodata
msg:
    db "Permission denied", 10

C

#include<stdio.h>
int main(){
    puts("Permission denied");
    return 0;
}

C++

#include <bits/stdc++.h>
using namespace std;
int main() {
    while(getchar() != EOF);
    cout << "Permission denied" << std::endl;
    return 0;
}

Using modules, introduced in C++23

import std;
int main() {
    std::println("Permission denied");
    return 0;
}

C♯

public class PermissionDenied
{
    public static void Main(string[] args)
    {
        System.Console.WriteLine("Permission denied");
    }
}

C = theNextIntegerThatComesAfterAnotherIntegerWithTheValueOf(C)

numberThatCanBeFullyRepresentedWithoutTheNeedForADecimalPointAndCanBePositiveOrNegative main() {
    theStandardLibrary::printAStringToTheConsole("Permission denied\n");
}

CMake

Note that CMake will output some extra junk along with the actual message. CMake will also crash and burn since this is a fatal error.

CMakeLists.txt
1
2
3
cmake_minimum_required(VERSION 3.16)
project(PermissionDenied)
message(FATAL_ERROR "Permission denied")

COBOL

IDENTIFICATION DIVISION.
PROGRAM-ID. PERMISSION-DENIED.
PROCEDURE DIVISION.
MAIN.
    DISPLAY "Permission denied".
    STOP RUN.

喵谕 Meaoiu

扒[= 'Input your code: ' =]祈求~
扒[= 'Permission denied' =]喵~

AsciiDots

.-$"Permission denied"

Befunge

"deined noissimreP">:#,_@

brainfuck

,[,]++++++++++[>++++++++>++++++++++>+++++++++++>+++<<<<-]>.>+.>++++.-----.----.++++++++++..<++++.>----.-.>++.<<-----.+.>.<++++.----.-.
>>>>>>>>>>[made from https://tnu.me/brainfuck/generator, EOF returns 0]

Bussin and Bussin X

Bussin:

println("Permission denied")

Bussin X:

waffle("Permission denied")

Cat (Language)

meow "Permission denied"

Dango

V1

eat (')(Permission denied)----

V2

serve (Permission denied)----

deadfish

Deadfish has no character I/O, only numbers, so this program outputs the codepoints of the characters instead.

iiisdsiiiiiiiiiiiiiiiioiiiiiiiiiiiiiiiiiiiiioiiiiiiiiiiiiiodddddoddddoii
iiiiiiiiooddddddddddoiiiiiiododddddddddddddddddddddddddddddddddddddddddd
ddddddddddddddddddddddddddddddddddddoiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiioioiiiiiiiiiodddddoddddodo

EchoLang (I rember)

"deined noissimreP"
say
say
say
say
say
say
say
say
say
say
say
say
say
say
say
say
say

Entropy

Because of Entropy's nature, this program may not print the exact message.

Program PermissionDenied PermissionDeniedEntropy [
    print "Permission denied";
]

FALSE

"Permission denied"

flag

Permission denied

Free2Edit

<<Permission denied>>

GDScript

To work, this script must either be attached to a node in the scene tree or be registered as an autoload.

extends Node
func _ready() -> void:
    print("Permission denied")

GNU make

.PHONY: all
all:
    @echo "Permission denied"

HTML

This also works in XHTML.

<!DOCTYPE html>
<html>
  <body>
    <p>Permission denied</p>
  </body>
</html>

Java

class PermissionDenied {
    public static void main(String[] args) {
        System.out.println("Permission denied"); 
    }
}

JavaScript (Explorer)

window.print("Permission denied")

This will output by pop-up.

JavaScript (Node.js)

console.log("Permission denied")

LOLCODE

HAI 1.3
VISIBLE "Permission denied"
KTHXBYE

Lox

print "Permission denied";

Same as Python 2, isn't it?

Yes, pretty much.

Malbolge

'&%$#"!~}|{zyxwvut,+0/.-,+*)(!Efedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:
9876543210/.-,HGFEDCBA@9!=6Z{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONML
KJIHGFEa`_^]\[ZYXWPtNMqQ3IHMFj-,+*)('&B$:?>=<;:32VUvutsrqponmlkjihgfedcba`_^
]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9UTSRQ3ONMFEJCg*)('&%$#"!~}|{zyxwvutsrqp
onmlkjihgfedcba`_^]\[ZYXWVUTSRQPlkdihgfe^cb[!_X]\[ZSw:9OTMLQPONMFj-IHAeE>=a;
:?>=<54Xyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<RQVUTS
RQPIHMFjDCHA@d'CB;_L

Magnesium

"Permission denied
"`

Nonstraightforward

~/dev/stdout/write/ln("Permission denied");

Polynomix

<. @ {\;} `Permission denied'+["\n]>.

pythOwO

pwint("Permission denied")

Rockstar

The boring program.

Shout "Permission denied"

Rust

fn main() {
    println!("Permission denied");
}

Scratch

In scratchblocks.github.io text:

when flag clicked
say [Permission denied]

SLet 3

let text empty
let chr get-char
while exist pack chr pack 0 do
    combine text match size text chr all
    let chr get-char
all
for "Permission denied" i do put-char latter i all

SLet 4

[ , \! :‌80:101:114:109:105:115:115:105:111:110:32:100:101:110:105:101:100

SletScript

',{;} .+(Permission denied)[\@n]

Staccato

"Permission denied"p

Standard ML

print "Permission denied\n";

Text

Permission denied

Brainfuck extended

$Permission denied$[.>]

+Output

"Permission denied"oX

JavaScript

This program also works in TypeScript.

console.log("Permission denied")

Signs

Start of road
Parking Area 'Permission denied'
End of road

Usernames

User:I am islptng "Permission denied" User:PrySigneToFry

Uyjhmn n

PRINT THE CHARACTER WITH THE ASCII VALUE 80
PRINT THE CHARACTER WITH THE ASCII VALUE 101
PRINT THE CHARACTER WITH THE ASCII VALUE 114
PRINT THE CHARACTER WITH THE ASCII VALUE 109
PRINT THE CHARACTER WITH THE ASCII VALUE 105
PRINT THE CHARACTER WITH THE ASCII VALUE 115
PRINT THE CHARACTER WITH THE ASCII VALUE 115
PRINT THE CHARACTER WITH THE ASCII VALUE 105
PRINT THE CHARACTER WITH THE ASCII VALUE 111
PRINT THE CHARACTER WITH THE ASCII VALUE 110
PRINT THE CHARACTER WITH THE ASCII VALUE 32
PRINT THE CHARACTER WITH THE ASCII VALUE 100
PRINT THE CHARACTER WITH THE ASCII VALUE 101
PRINT THE CHARACTER WITH THE ASCII VALUE 110
PRINT THE CHARACTER WITH THE ASCII VALUE 105
PRINT THE CHARACTER WITH THE ASCII VALUE 101
PRINT THE CHARACTER WITH THE ASCII VALUE 100
PRINT THE CHARACTER WITH THE ASCII VALUE 10
END THIS PROGRAM

Vaffanculo

import std::a1b2c3d4 as io;

func main() {
  let msg = "Permission denied" !! str;
  io::f9e2d1a4(msg @CRC=0x3E7F) ??> stdout;
}

This program may be unusable anytime.

Vague

Requires a strictly standard-compliant implementation.

+++>++++++<(*+>-<)====!_-----!*++(+>-<)*!&&&!!t==.(+&-<->).!!(-)++++=++++=(*&)++!!(!-)

Another one. This also requires a strictly standard-compliant implementation.

+++<<<*!--->++<(+>-<)=(.<>=).!*!!&&&&&!&&&&&&&!&&!&&&&&&&!&&&&&&&&!&&&&&!

Yappacino

C:\Standard\System\io\format\print\ln("Permission denied");

Zig

const std = @import("std");
pub fn main(init: std.process.Init) !void {
    try std.Io.File.stdout().writeStreamingAll(init.io, "Permission denied\n");
}

中文(简体,中国大陆)

定义 代码 为 字符串
读入 内容,提示为 "Input your code: "
打印 "Permission denied"

///

Same logic as the hello world program, also a cheating quine.

Permission denied

?Q?

[Permission denied]$

ΔςTΞRΙςκ

******************************************************************************** ***************************************************************************************************** ****************************************************************************************************************** ************************************************************************************************************* ********************************************************************************************************* ******************************************************************************************************************* ******************************************************************************************************************* ********************************************************************************************************* *************************************************************************************************************** ************************************************************************************************************** ***************
***************** **************************************************************************************************** ***************************************************************************************************** ************************************************************************************************************** ********************************************************************************************************* ***************************************************************************************************** **************************************************************************************************** 

Type 15

print("Permission denied")

Type 28

Same as brainfuck.

Type 32

Same as C++.

Type 40, 42

Same as Java.

Type 43

Same as Python, Lua, and Julia.

Example Programs

Quine

Permission denied

Self interpreter

Permission denied

In fact, there are infinite number of self interpreter for this language, because any program is one.

"Quine", in another way

权限被拒绝

"Quine", in another strange way

你没有足够的权限执行该操作。

Romanian to English "Quine"

Nu aveți suficiente permisiuni pentru a face asta.

Print "Permission denied"

Any text goes here.

Alternated

Hello, world!

Japanese to English "Quine"

そのための十分な権限がありません。

Arabic to English "Quine"

ليس لديك أذونات كافية للقيام بذلك.

Korean to English "Quine"

그렇게 할 수 있는 충분한 권한이 없습니다.