Tired of Old Man Python telling you what you can and can't say to your computer?(staringispolite.com)
staringispolite.com
Tired of Old Man Python telling you what you can and can't say to your computer?
http://www.staringispolite.com/likepython/
8 comments
Is he removing the 'Like, Python' keywords from the source and then passing it to the Python interpreter?
Strictly speaking, for Python to actually be a subset, it needs to recognise when a keyword is meaningful. Like:
hey = "hello world"
print hey
Can it do this? My assumption is not, because you'd get issues like so anyway just = "hello world"
but you could make an exception for when there's only one of them.needs to be smart enough so you can write:
print "hello world" or whatever
or n = 3 'n shitSee also: Eubonicode http://www.public.iastate.edu/~crb002/prog.html
This is just http://en.wikipedia.org/wiki/Valspeak sugar. I guess I'll stick with Scratch and Logo for my kid.
% fortune -m "VALGOL"
THE LESSER-KNOWN PROGRAMMING LANGUAGES #14 -- VALGOL
VALGOL is enjoying a dramatic surge of popularity across the
industry. VALGOL commands include REALLY, LIKE, WELL, and Y*KNOW.
Variables are assigned with the =LIKE and =TOTALLY operators. Other
operators include the "California booleans", AX and NOWAY. Loops are
accomplished with the FOR SURE construct. A simple example:
LIKE, Y*KNOW(I MEAN)START
IF PIZZA =LIKE BITCHEN AND
GUY =LIKE TUBULAR AND
VALLEY GIRL =LIKE GRODY**MAX(FERSURE)**2
THEN
FOR I =LIKE 1 TO OH*MAYBE 100
DO*WAH - (DITTY**2); BARF(I)=TOTALLY GROSS(OUT)
SURE
LIKE, BAG THIS PROGRAM; REALLY; LIKE TOTALLY(Y*KNOW); IM*SURE
GOTO THE MALL
VALGOL is also characterized by its unfriendly error messages. For
example, when the user makes a syntax error, the interpreter displays the
message GAG ME WITH A SPOON! A successful compile may be termed MAXIMALLY
AWESOME!I miss the hicks, mullets and rednecks ;-)