I see a lot of ``faggots'' here claiming to have achieved Satori and becoming [b][i][o][u]EXPERT PROGRAMMER[\u][\o][\i][\b]s after reading SICP, but I have yet to single /prog/rider demonstrate a working program they've built. Show us what you and Lisp can do. I'm legitimately curious.
My everyday scripts are (almost) all written in Lisp.
And I posted my BBCode suite in Racket some time ago, just to reply to the post that made you open this shitty thread.
grammar = Dict(
S = [['NP','VP']],
NP = [['Art', 'N']],
VP = [['V', 'NP']],
Art = ['the', 'a'],
N = ['man', 'ball', 'woman', 'table'],
V = ['hit', 'took', 'saw', 'liked']
)
def generate(phrase):
"Generate a random sentence or phrase"
if isinstance(phrase, list):
return mappend(generate, phrase)
elif phrase in grammar:
return generate(choice(grammar[phrase]))
else: return [phrase]
def generate_tree(phrase):
"""Generate a random sentence or phrase,
with a complete parse tree."""
if isinstance(phrase, list):
return map(generate_tree, phrase)
elif phrase in grammar:
return [phrase] + generate_tree(choice(grammar[phrase]))
else: return [phrase]
def mappend(fn, list):
"Append the results of calling fn on each element of list."
return reduce(lambda x,y: x+y, map(fn, list))
It was basically a superior 3dsmax for Lisp Machines.
Name:
Anonymous2011-08-12 2:33
>>9
I fucking knew I was going to need make this clarification: a ``working program [you've] build'' does not mean ``some completely useless 10-LOC function you lifted from a textbook''.
At least it wasn't lifted from the first chapter of SICP like I was expecting though.
Name:
Anonymous2011-08-12 2:45
>>14
It was lifted from Norvig's Python-evangelism article, where the old google-whore said that "Python is a better lisp", using that code as example.
>>14
I'm not a lisper, but it's turing complete. You'd have to be a fucking retard to think you can't write a working program in lisp.
Same goes for any other turing complete language. Also, I haven't seen this Satori EXPERT PROGRAMMER bullshit recently. I assume the actual Lisp programmers left during the Autist-Fartist shitfloods, if not beforehand. Now we're left with a bunch of faggots who played with lisp for 5 minutes and think it's the best thing ever, without considering it's drawbacks.
I'd say it's more a question of popularity than anything else. People prefer language X, because everyone else uses and is productive with language X. This mentality is obviously rife within the workplace.
>>18
i bet u think your so cool kaptin fgt
ha ha u piss all over ur nutz liek FUCK
u try to stik ur own dick in ur ass
but u cant cuz ur being ANALLY PERUSED by ur dads cawk
"i sucked five dicks for a cheeseburger at mickie d's" -u
whats it liek getting fukin ownd al da time?
mayb u shud stop bein so BUTT FRUSTRATED
when u take a shit ur angry butt crys tears of sperm
looks liek some1 just got BUTTASSAULTED
>>16 I assume the actual Lisp programmers left during the Autist-Fartist shitfloods, if not beforehand.
Why would you think that?
Name:
Anonymous2011-08-12 20:49
Show me a working Lisp you built in a program
I see a lot of ``faggots'' here claiming to have achieved Satori and becoming [b][i][o][u]EXPERT PROGRAMMER[\u][\o][\i][\b]s after reading SICP, but I have yet to single /prog/rider demonstrate a working Lisp they've implemented. Show us what you and some language can do. I'm legitimately curious.
>>24
I still visit /prog/, but I rarely bother posting much anymore. >>25
You want to see a working lisp dialect we implemented or merely something we wrote in some lisp?
>>29
I make various DSLs specific to my problem domain, which usually are built on top of CL. I haven't actually invented any specific dialect, despite having implemented some toy lisps as part of learning the language (through PAIP, SICP, LiSP).