PAGENAME

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually {{PAGENAME}}.

{{PAGENAME}} is an esolang made by Unname4798. It just outputs the page name if the program is a valid page name, otherwise it solves the halting problem.

Examples

PAGENAME

It is a quine. Or we can say the name of any esolang on this wiki in this esolang is a quine.

Interpreter

Ther is an interpreter in VBScript. you can copy it to a text file then rename it like "sth.vbs", you can change the "sth" to anything. Just create a .vbs file.

On Error Resume Next
dim code
code=InputBox("input your code(pagename)","","")
dim httpobj
set httpobj = CreateObject("MSXML2.ServerXMLHTTP.6.0") 'Create object.

httpobj.SetOption 2,13056
httpobj.open "GET",("https://esolangs.org/wiki/" & code),False
httpobj.send
status = httpobj.Status 'Get status.
'msgbox status

If status <> 200 then
msgbox "halted. This page is no found or your network problem cause it." 
Else
msgbox code
End If     'if the page is exist, display it in a window, or halt.