Hipi Is a Piet Interpreter
Introduction
HIPI (Recursively acronymed) allows you to write and run Piet code. This is the first interpreter I've ever built in GM, well the first interpreter period. It handles all Piet instructions and should run all piet examples. (There are a few bugs I'm trying to track down)
Anyways I've no doubt that almost all of you have never seen or heard of Piet. Well it's an Esoteric language which using bitmap images instead of text to program. This also makes it a pain in the ass to code in and a perfect candidate for my first interpreter attempt.
Information
Window Size Locked to 680 x 660
File Size 1991kb
Release Version 1.0.0
GM Version 6.1
OS Compatability Windows XP (I'll upload a Vista compatible version shortly)
Download
MediaFire
Will Host For Food
Change Log
Beta
- v0.1.0 [18.10.07] The first beta of HIPI is released.
- v0.1.1 [19.10.07] Added save and load support. A debug feture. The ability to clear the canvas. Change the clear color so some colors are easier to see. Fixed many interpreter bugs.
- v0.1.2 [20.10.07] Redesigned the interface and added clear, save, load, run and debug buttons. Funtion keys are no longer used. fixed a few more interpreter bugs. Added buttons to automatically change the color to the instruction you want with a color preview. Added a status bar which explains how each instruction works when you mouse over it.
- v0.1.3 [21.10.07] Removed the message box that appears after an addition command. Added a message display what's in the stack during debug.
Release
- v1.0.0 [21.10.07] First release of HIPI! Completely re-wrote the interpreter. It is now faster and much more refractored. Source will be released soon. Allowed the dubug feature to step through the program, highlighting the current codel. In debug mode, the current stack data and instruction is printed to the status bar. Added a seperate console application for running Piet programs. It is a little faster than the HIPI development environment and has no message boxes.
Tutorial
I've written a short tutorial on how to write an addition program in Piet using HIPI. It also shows how to make a loop, which is a rather complicated task in Piet.
You can see the tutorial on my Blog.
Piet
You can read all the language specifications at the Piet Homepage.
Screenshots
This screenshot showing a program which prints the word "Piet". This screenshot is a little out of date but the devlopment environment is almost identical to the release.
Edited by StapleGun, 16 October 2008 - 03:07 AM.











