LispForum

You have problems, and we're glad to hear them. Explain the problem, what you have tried, and where you got stuck.Feel free to share a little info on yourself and the course.

Forum rules
Please respect your teacher's guidelines. Homework is a learning tool. If we just post answers, we aren't actually helping. When you post questions, be sure to show what you have tried or what you don't understand.

This is not really homework, I'm a public high school teacher and need help with an idea I have to help my "revisited' students learn logic and mathematical thinking. I am learning Lisp for the sheer joy of it and as I think it will fit into my classroom ideas quite handily (I'd be happy to discuss these off line or in a different post if desired), but I'm only a few weeks into it and this task is, (I think, at this point) beyond my skill level. I have the files I need to do what I want to do, but they're in python, and I really want to stick with Lisp. Can anyone either

a) convert a few python files to Lisp (they aren't terribly long)b) guide me through converting themc) look at the python files and give me an idea what exactly they do and how they do it so I can make their conversion part of my learning curve?

I'd really appreciate the help, though I realize it's a rather odd request, and please do accept my apology if this request is inappropriate.

The files are open source so I'm not trying to pull off anything nefarious, they are chatbot files, in particular a parser for AIML.

Sure, and thanks for the reply. It's pyaiml http://pyaiml.sourceforge.netI understand the aiml files themselves, its just the parser I'm pretty clueless about. Not sure if I should just leave it as a python program and call it from within lisp or write it from scratch in lisp or maybe just use an XML parser?