Wikitext

From Esolang
Jump to navigation Jump to search

Not to be confused with the wikitext editor used to edit pages.

Wikitext is an esolang by User:Esolangist inspired by wikitext and Fontmess.

How did I come up with this

I was thinking of wikitext (and how to color text to make a Fontmess inspired esolang) and thought of a wikitext-based language.


Commands

I am not using <nowiki> here. This is actually how it is supposed to look.

Command What it does
(x) Pushes (x).
Template:X Does the associated command with x.
User:x Takes input and pushes it. x is optional and for style.
(a)
(b) (c) (d)
code code2 code3
If statement. If (b), run code. Else if (c), run code2. Else, run code3. a and d are comments. Use extra rows for more commands.
{{{1}}} and {{{2}}} Loop forever.

Template:x?

Here's all the commands avaliable.

Opcode Meaning
Stub Pop a value.
WIP Pops a value and outputs it.
WIPsec Takes input and outputs it.

Examples

I will use my favourite users as examples for the command User:(x).

Hello world

[[Hello, world!]]{{WIP}}

Cat

[[User:None1]]{{WIP}}

Truth machine

User:PrySigneToFry
Truth Machine
the user is active the user is inactive otherwise
0 {{{1}}} This does nothing.
This is still a work in progress. This may be changed later. 1 So does this.
Did you know that anything else is a NOP? :This is still a work in progress. It may be changed in the future. || Again, does nothing.
This can be used to make comments! {{{2}}} What did you expect?