HTMHell

From Esolang
Jump to navigation Jump to search

HTMHell (shortened to HTMH) is a weird esolang by User:Hammy that looks like HTML

Commands

HTMH commands.
Command Meaning
<!DOCTYPE HTMHELL> Must be at the start of the program, if it isn't then start from where it is, if it is nowhere, output "I'm not sure if this is a Javascript, Python, INTERCAL or HTMHell program". Not case sensitive, <!doctype htmh> is a variant
<htmhell>Code here</htmhell> The code itself. Wraps around the program
<head>Hi!</head> This must exist, but it doesn't matter what is in it.
<body>Code</body> Run the code inside.
<h1>Heading</h1> or <h2>Heading but its smaller</h2> Headings. It's basically like a label. Size of heading doesn't matter
<p>Comment</p> A comment.

Text here.

Print string.
Never gonna give you up Variant of the above.
hi Input from user.
Variable Create a variable.

Variable

Value

Sets a variable.
Variable Gets a variable's value.
%#xABCDE; Unicode character
subscribe Reverse text
<cancel>Nobody cares about what is in here.</cancel> Don't run code inside. If this was a markup language, then it is equivalent to ¬hi¬ in Markright.

Examples

Hello, HTMHell!

A slight variation on the most popular popular problem ever


<!doctype htmh>
<htmhell>
 <head>
  <p>
   Hi.
  </p>
 </head>
 <body>
  <q>
   Hello, HTMHell!
  </q>
 </body>
</htmhell>

Cat

write this for me im not typing all that