> Under the EPC, and in particular its Article 52,[1] "programs for computers" are not regarded as inventions for the purpose of granting European patents,[2] but this exclusion from patentability only applies to the extent to which a European patent application or European patent relates to a computer program as such.
So, basically, you can't patent a program per se, but you can patent a "device" that uses the program. It is limited in scope
Which in practice seriously means that software patents describe the von Neumann architecture and talk about how the RAM and CPU communicate, when it's actually about a high level software solution. It's also always called a "System and method for XYZ", implying the system is part of the invention. Really look up some patents freely available online, they all do this which is plain ridiculous.
So, basically, you can't patent a program per se, but you can patent a "device" that uses the program. It is limited in scope