Lispfix

I get to write some Lisp this week:

Assigned March 5, 2003; due at the beginning of class March 19, 2003.

This lab is another dual programming language implementation lab. This time, the dueling implementations are between Lisp and Python. This lab is simple: write two programs, one in Lisp and one in Python, that accept a string from the user containing an equation comprised of ()+-*/ in infix form and have it produce an equivalent equation in prefix form. For example, (7+3)/2+1 would become 7 3 + 2 / 1 +.

Compare and contrast the solution to the problem from the perspective of programming in Lisp, Python, and one other language of your choice.

I started working on the Python one a little the other day, and I guess it's the recent C++ I did, but I kept wanting to be able to pass a dictionary by reference. I guess I need to just return it in a tuple or something, since that's one of the Pythonic features I guess I should compare with things.

But it'll be neat to have finally written a Lisp program, even if it's a trivial school project type one.