Page namespace (page_namespace) | 0 |
Page title (without namespace) (page_title) | 'Penis' |
Full page title (page_prefixedtitle) | 'Penis' |
Old content model (old_content_model) | '' |
New content model (new_content_model) | 'wikitext' |
Old page wikitext, before the edit (old_wikitext) | '' |
New page wikitext, after the edit (new_wikitext) | '{{infobox proglang
|name=penis
|author=[[User:Ultraslayyy|ultraslayyy]] (unknown)
|year=[[:Category:2026|2026]]
|class=[[Finite-state automaton|Finite-state machine]] (Turing-adjacent)
|majorimpl=[https://github.com/ultraslayyy/esolangs/tree/main/penis Penis Compiler]
|files=<code>.penis</code>, <code>.peen</code>, <code>.peenar</code>
}}
:''The original designer of '''Penis''' is currently unknown (as this was taken from the [[List of ideas]]). [[User:Ultraslayyy|ultraslayyy]] created the compiler so she's credited as designer until the original creator steps up.''
Ever wanted to code by playing [https://www.urbandictionary.com/define.php?term=the+penis+game the penis game]? Well '''Penis''' makes that possible.
==Syntax==
Penis is written as a binary sequence. Each bit prefixed with <code>penis</code>, and suffixed with a cumulative number of bangs (exclamation marks, <code>!</code>)
* The first bit is either <code>penis</code> (0) or <code>penis!</code> (1)
* Every bit following adds +1 <code>!</code> for 0, and +2 <code>!</code> for 1
* Comments utilise bangs ''not'' prefixed by <code>penis</code> (e.g. <code>! comment !</code>)
As an example:
<pre>
penis! ! 1 → initial bit !
penis!! ! 0 → added 1 !
penis!!! ! 0 → added 1 !
penis!!!! ! 0 → added 1 !
penis!!!!!! ! 1 → added 2 !
penis!!!!!!! ! 0 → added 1 !
penis!!!!!!!!! ! 1 → added 2 !
penis!!!!!!!!!!! ! 1 → added 2 !
</pre>
This does mean there is no fixed output format; it can be compiled to any format using the [https://github.com/ultraslayyy/esolangs/tree/main/penis official compiler], and it will work as such (so long as it outputs the correct format). So yes, you could write assembly files, executables, Microsoft Word documents, and anything else using this language.
==Example Program==
Due to the sheer size of programs it isn't feasible to include an example executable here, as a basic unix hello world executable sits at 981,045 characters (bytes), with the base executable resting at 168 bytes. But, an example (specifically this one) can be found in the [https://github.com/ultraslayyy/penis/tree/main/examples examples directory in compiler source] (this one with [https://raw.githubusercontent.com/ultraslayyy/esolangs/refs/heads/main/penis/examples/hi.penis this raw content]).
But an example of the language can be writing out the word, "Hi":
<pre>
penis penis!! penis!!! penis!!!! penis!!!!!! penis!!!!!!! penis!!!!!!!! penis!!!!!!!!! ! H → 01001000 !
penis!!!!!!!!!! penis!!!!!!!!!!!! penis!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!!!!! ! i → 01101001 !
</pre>
This, when compiled to a text file reads <code>Hi</code> (or binary contents of <code>01001000 01101001</code>)
[[Category:2026]]
[[Category:Joke languages]]
[[Category:Implemented]]
[[Category:Unusable for programming]]
[[Category:Languages]]' |
Unified diff of changes made by edit (edit_diff) | '@@ -1,0 +1,49 @@
+{{infobox proglang
+|name=penis
+|author=[[User:Ultraslayyy|ultraslayyy]] (unknown)
+|year=[[:Category:2026|2026]]
+|class=[[Finite-state automaton|Finite-state machine]] (Turing-adjacent)
+|majorimpl=[https://github.com/ultraslayyy/esolangs/tree/main/penis Penis Compiler]
+|files=<code>.penis</code>, <code>.peen</code>, <code>.peenar</code>
+}}
+:''The original designer of '''Penis''' is currently unknown (as this was taken from the [[List of ideas]]). [[User:Ultraslayyy|ultraslayyy]] created the compiler so she's credited as designer until the original creator steps up.''
+
+Ever wanted to code by playing [https://www.urbandictionary.com/define.php?term=the+penis+game the penis game]? Well '''Penis''' makes that possible.
+
+==Syntax==
+Penis is written as a binary sequence. Each bit prefixed with <code>penis</code>, and suffixed with a cumulative number of bangs (exclamation marks, <code>!</code>)
+
+* The first bit is either <code>penis</code> (0) or <code>penis!</code> (1)
+* Every bit following adds +1 <code>!</code> for 0, and +2 <code>!</code> for 1
+* Comments utilise bangs ''not'' prefixed by <code>penis</code> (e.g. <code>! comment !</code>)
+
+As an example:
+<pre>
+penis! ! 1 → initial bit !
+penis!! ! 0 → added 1 !
+penis!!! ! 0 → added 1 !
+penis!!!! ! 0 → added 1 !
+penis!!!!!! ! 1 → added 2 !
+penis!!!!!!! ! 0 → added 1 !
+penis!!!!!!!!! ! 1 → added 2 !
+penis!!!!!!!!!!! ! 1 → added 2 !
+</pre>
+
+This does mean there is no fixed output format; it can be compiled to any format using the [https://github.com/ultraslayyy/esolangs/tree/main/penis official compiler], and it will work as such (so long as it outputs the correct format). So yes, you could write assembly files, executables, Microsoft Word documents, and anything else using this language.
+
+==Example Program==
+Due to the sheer size of programs it isn't feasible to include an example executable here, as a basic unix hello world executable sits at 981,045 characters (bytes), with the base executable resting at 168 bytes. But, an example (specifically this one) can be found in the [https://github.com/ultraslayyy/penis/tree/main/examples examples directory in compiler source] (this one with [https://raw.githubusercontent.com/ultraslayyy/esolangs/refs/heads/main/penis/examples/hi.penis this raw content]).
+
+But an example of the language can be writing out the word, "Hi":
+<pre>
+penis penis!! penis!!! penis!!!! penis!!!!!! penis!!!!!!! penis!!!!!!!! penis!!!!!!!!! ! H → 01001000 !
+penis!!!!!!!!!! penis!!!!!!!!!!!! penis!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!!!!! ! i → 01101001 !
+</pre>
+
+This, when compiled to a text file reads <code>Hi</code> (or binary contents of <code>01001000 01101001</code>)
+
+[[Category:2026]]
+[[Category:Joke languages]]
+[[Category:Implemented]]
+[[Category:Unusable for programming]]
+[[Category:Languages]]
' |
Lines added in edit (added_lines) | [
0 => '{{infobox proglang',
1 => '|name=penis',
2 => '|author=[[User:Ultraslayyy|ultraslayyy]] (unknown)',
3 => '|year=[[:Category:2026|2026]]',
4 => '|class=[[Finite-state automaton|Finite-state machine]] (Turing-adjacent)',
5 => '|majorimpl=[https://github.com/ultraslayyy/esolangs/tree/main/penis Penis Compiler]',
6 => '|files=<code>.penis</code>, <code>.peen</code>, <code>.peenar</code>',
7 => '}}',
8 => ':''The original designer of '''Penis''' is currently unknown (as this was taken from the [[List of ideas]]). [[User:Ultraslayyy|ultraslayyy]] created the compiler so she's credited as designer until the original creator steps up.''',
9 => '',
10 => 'Ever wanted to code by playing [https://www.urbandictionary.com/define.php?term=the+penis+game the penis game]? Well '''Penis''' makes that possible.',
11 => '',
12 => '==Syntax==',
13 => 'Penis is written as a binary sequence. Each bit prefixed with <code>penis</code>, and suffixed with a cumulative number of bangs (exclamation marks, <code>!</code>)',
14 => '',
15 => '* The first bit is either <code>penis</code> (0) or <code>penis!</code> (1)',
16 => '* Every bit following adds +1 <code>!</code> for 0, and +2 <code>!</code> for 1',
17 => '* Comments utilise bangs ''not'' prefixed by <code>penis</code> (e.g. <code>! comment !</code>)',
18 => '',
19 => 'As an example:',
20 => '<pre>',
21 => 'penis! ! 1 → initial bit !',
22 => 'penis!! ! 0 → added 1 !',
23 => 'penis!!! ! 0 → added 1 !',
24 => 'penis!!!! ! 0 → added 1 !',
25 => 'penis!!!!!! ! 1 → added 2 !',
26 => 'penis!!!!!!! ! 0 → added 1 !',
27 => 'penis!!!!!!!!! ! 1 → added 2 !',
28 => 'penis!!!!!!!!!!! ! 1 → added 2 !',
29 => '</pre>',
30 => '',
31 => 'This does mean there is no fixed output format; it can be compiled to any format using the [https://github.com/ultraslayyy/esolangs/tree/main/penis official compiler], and it will work as such (so long as it outputs the correct format). So yes, you could write assembly files, executables, Microsoft Word documents, and anything else using this language.',
32 => '',
33 => '==Example Program==',
34 => 'Due to the sheer size of programs it isn't feasible to include an example executable here, as a basic unix hello world executable sits at 981,045 characters (bytes), with the base executable resting at 168 bytes. But, an example (specifically this one) can be found in the [https://github.com/ultraslayyy/penis/tree/main/examples examples directory in compiler source] (this one with [https://raw.githubusercontent.com/ultraslayyy/esolangs/refs/heads/main/penis/examples/hi.penis this raw content]).',
35 => '',
36 => 'But an example of the language can be writing out the word, "Hi":',
37 => '<pre>',
38 => 'penis penis!! penis!!! penis!!!! penis!!!!!! penis!!!!!!! penis!!!!!!!! penis!!!!!!!!! ! H → 01001000 !',
39 => 'penis!!!!!!!!!! penis!!!!!!!!!!!! penis!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!!! penis!!!!!!!!!!!!!!!!!!!!! ! i → 01101001 !',
40 => '</pre>',
41 => '',
42 => 'This, when compiled to a text file reads <code>Hi</code> (or binary contents of <code>01001000 01101001</code>)',
43 => '',
44 => '[[Category:2026]]',
45 => '[[Category:Joke languages]]',
46 => '[[Category:Implemented]]',
47 => '[[Category:Unusable for programming]]',
48 => '[[Category:Languages]]'
] |