Inspiration

HTM1 is loosely inspired by other esoteric programming languages like Whitespace, Shakespeare and Chef, which are also languages for creating programs hidden in other code.

What it does

HTM1 programs operate a virtual stack machine and can input and output Unicode. This repository contains an interpreter, a deinterpreter, some example code and documentation.

How we built it

It was written in Python and has been tested on Linux. The parser uses beautifulsoup.

Challenges we ran into

Parsing HTML and accounting for all the edge cases is a can of worms I'm never going back to, I love beautifulsoup <3.

Accomplishments that we're proud of

The example code is pretty good. Writing HTM1 is a lot like writing assembly, and any amount of working assembly is something to be proud of.

What we learned

We were mercilessly reminded of Python's weak type system, but blessed by its forgiving syntax and bountiful libraries.

What's next for HTM1

There are no concrete plans. We were thinking of

  • changing the instruction set by making more commonly used tags more commonly used commands
  • getting rid of IO commands and just having a virtual stack that inputs and outputs whenever you pop from or push to it
  • rewriting in Rust
Share this project:

Updates