Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New language you can read aloud

Name: Anonymous 2010-11-11 23:54

So what if we had a language that depended mostly on keywords (and less on punctuation) that read like the english language?

Something like

let fact of n be
1 if n is 0
n * fact of n otherwise
end
let main be
x = gets
x = fact of x
print x
end

Okay, it looks like crap, but it's just a concept. Ideas /prog/?

Name: Anonymous 2010-11-12 5:17

>>13
Failed the last bit of Scheme because I was in a hurry, add closing parens for me in lines LAST and (- LAST 1) please.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List