Programming the LOL way.
All LOLCats, LOL, ALL CAPS.
HAI! This site provides community documentation of the emergent LOLCODE language. It was the creator's original hope that the examples could grow in a way that is both internally consistent and suggest a real, feasible computing language.
HAI WORLD:
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
What actually happened in a matter of days was a vibrant and enthusiastic community appeared, with scores of contributions, over a dozen implementations, and a lively forum for discussion. The language is evolving quickly into something real, supported on multiple platforms.
(The previously-announced contest has closed. Stay tuned for results…)
Oh, this is (year-)old news, but it's still fairly significant in the world of LOLCODE: the interactive programming site, repl.it, supports in-browser exploration of LOLCODE.
It does its work on top of lol-coffee, a CoffeeScript implementation of a LOLCODE interpreter. Fun stuff!
This month in natlang awesome, Andy Baio has released a Z-machine interpreter site: playfic.com. The key innovation here is that it's both writeable and readable: play games, “view source” on them, download, modify, and upload a new, playable version.
Hearing about the natural language programming capabilities of Inform7 upon its release in 2006 definitely set some of the seeds for LOLCODE. As Baio points out on his introductory blog post, this is a fully playable 'game':
East of the Garden is the Gazebo. Above is the Treehouse. A billiards table is in the Gazebo. On it is a trophy cup. A starting pistol is in the cup. In the Treehouse is a container called a cardboard box.
AWSUM.
O HAI.
New friend Rob Muller pointed me to a project that he and his friend cooked up about a year ago. Since today is September 19th, Olde Timey Speke seemed relevant enough to today's a Talk Like A Pirate celebration to share:
Ye Olde Sea Pluss Pluss!
It's a preprocessor-driven variant, but it's a bit of fun up on github.
Inspired (once again) by the Ruby community (discussion here), closing nested blocks can be accomplished with repeating 'x' for as many “kthx”s that would be repeated. See the discussion at the above link, and it will be made clear.
(h/t Steve Losh & Bennett Kolasinski)
Following enthusiastic demand for T-shirts, first I followed the path of least resistance and opened a CafePress-powered store. Other possibilities and deals were mooted, but nothing ever materialized. I've finally arrived at Spreadshirt, which allows me to offer shirts at lower prices and with a much wider variety of designs than before. I saw the new shirts set beside the old shirts, and there is no comparison: the new, Spreadshirt-printed shirts are full of WIN.
The Store now features new designs, bolder, brighter printing, lower prices on black shirts, many more women's (and juniors') products, glow-in-the-dark designs, budget t-shirts, and color customization.
COUNT!!1:
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE VAR
IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE
FILEZORZ:
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE
CATURDAY and GIMMEH make small additions to the language. I think we have a resolution to the discussion on IF/THEN/ELSE and CASE constructions. See a new example at LITTLE NUMBER.
home.txt · Last modified: 2012/11/28 14:30 (external edit)