Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Even more old school than a school bus with gothic windows.
branch: master
Failed to load latest commit information.
README.md readme update
ebcdic.js first commit!
hiworld.js first commit!
package.json might as well park the name on npm
punch.js first commit!

README.md

Punchcard!

an ebcdic encoder/decoder, an ibm-style punchcard hole number encoder, and a formatter to print lulzy ascii cards. Well, kinda lulzy.

See?

% node hiworld.js 
hello world! on a punchcard: 
.____________
|987654321ABC\
| ▘       ▘ ▘ |
|    ▘    ▘ ▘ |
|      ▘   ▘  |
|      ▘   ▘  |
|   ▘      ▘  |
|             |
|   ▘     ▘▘  |
|   ▘      ▘  |
|▘         ▘  |
|      ▘   ▘  |
|     ▘   ▘ ▘ |
| ▘     ▘  ▘  |
l_____________j

So does it actually work yet?

Based on spot checking, it certainly seems to! That said, there's no decoder yet, and that would really be the proof I'd think.

Something went wrong with that request. Please try again.