Blake O\'Hare.com

When plugging in a USB cable, the side that faces you has a raised-texture USB logo. The metal has 3 notches instead of 2.
Login | Register

Mark Sideways

This was a programming language I made for a weekend-long hackathon where the theme was "first class comments"

Source Code

Mark Sideways is a literate programming language that uses plain markdown files as its input source type. Function and class definitions are defined by # headers, arguments are defined by bulleted lists, and the code itself appears as code block segments. Everything else is a "comment".

The compiler and interpreter itself was implemented in Python. It also supports basic 2D drawing using SDL via PyGame.

For example, here is a program that calculates Pi. This is NOT a readme file about the program. This markdown file IS the program itself.

I also wrote a small Twitter clone, Tetris, and a CLI Rock Paper Scissors game.

This is a video by the hackathon organizer demonstrating MarkSideways at 11:13:

MSPaint: Curved Gradients
Custom Programming Language: Mark Sideways
MSPaint: Rotate by 45 Degrees
MSPaint: Drawing Glass Buttons
MSPaint: How to Draw a Stereogram