http://www.flipcode.com/tutorials/tut_scr01.shtml
Are you sure you want to do this? I mean, you end up having to make your own compiler using Bison and Flex somehow, which can be found at
http://gnuwin32.sourceforge.net/ (Windows binaries). The problem is that a scripting engine can be very slow...