Ben Longden
LOLCODE and PHP
As a proof of concept i’ve been working on a small LOLCODE (lolcode.com) interpreter thing… for PHP.
Yes, this is a basic implementation of LOLCODE (an interpreted language) written in PHP (an interpreted language).
At the moment there’s enough implemented to parse and run the following…
HAI. BTW THIS IS A COMMENT. VISIBLE “OH HAI, WORLD”. KTHXBAI.
You can find the source code up on github at github if you want to have a play (just extend \Lol\Token – see visible.php for an example).
Tagged with: php lolcode github
Twitter
- Trams all going in the other direction. Where do they go? I'm only 2 stops from the end of the line! Bored of waiting... #fb
- Sigh. S20 1/10 #uksnow :-(
- @octaneglow I more meant the 'lying on the ground' definition rather than the 'deliberate untruth' definition. English is shit.
- @octaneglow :'( Is it lying?
- Praying for no snow until at least 6pm in S3… Go away. #uksnow
Blogroll




