The reprap project has developed a minimal g-code interpreter available for the Arduino micro controller.
http://reprap.org/bin/view/Main/DocumentationMain see the Software / Firmware section for more links.
Here is a link to the Arduino project.
In your case though I suspect the G-Code interpreter would be overkill. You just need a fairly simple program to control your 3 axes.