Need Help With LISP Program
I heard LISP was the programming language for Artificial Intelligence. So I installed it, and got a simple software running:
(loop for n from 1 to 100000
do (print "LOOK AROUND YOU"))
So now that I have that down, my question is how to you make artificial intelligence with it? The input I have in mind is a simple string. For example:
"DESIGN AN ERP SYSTEM FOR OUR COMPANY IN JAVA."
The output should be a completely bug-free set of Java source files that implements all of our requirements. It would be nice if the program could also compile it for us.
Please send me the codes.
5 comments · 95% upvoted · other discussions
Yes LISP is an AI language but it has a lot of parenthesis. This is why it is not very popular, although it is very powerful. Your first attempt is very, very close but has some syntactical issues.
should be written in LISP syntax as
[deleted] 5 points · Apr 2015
10/10
republitard [OP] 1 points · Apr 2015
That did something, but it doesn't look like a working Java implementation of our ERP system to me:
How do you instantiate a DotContext? I tried this:
But it didn't work. Maybe it needs more factory? What is the L.I.S.P. equivalent of factory?
uardum 3 points · Apr 2015
You idiots. You need to guard your space and period symbols with pipe quotes:
republitard [OP] 3 points · Apr 2015
Now it's telling me to do it myself! And it yelled at me! Output:
I'm starting to see why LISP isn't very popular. He's an asshole.