Hi,
you can write code for the Arduino board to set digital and analog outputs and read digital and analog inputs and transfer these signals over the serial line to the laptop. Then you can do all the coding you want to doin any language on the laptop and tell the arduino what to do over the serial port.
Mike